.BS_guest_author_container .tabs {
    position: relative;
    clear: both;
    margin: 25px 0;
}
.BS_guest_author_container .tab {
    display: none;
}
.BS_guest_author_container .tabs label.tab-control-controller {
    background: #eee;
    border: 1px solid #eee;
    border-bottom-color: #ccc;
    padding: 10px;
    margin-bottom: -1px;
    margin-left: -1px;
    margin-right: -3px;
    position: relative;
    left: 1px;
    display: inline-block;
    transition: background-color 0.2s, background-color 0.2s, border-color 0.2s;
}
.BS_guest_author_container .tabs .tab-control[type=radio] {
    display: none;
}

.BS_guest_author_container .content {
    background: white;
    padding: 20px 5px;
    border: 1px solid #ccc;
}

.BS_guest_author_form_container .form-field .label {
    font-weight: bold;
    margin-bottom: 2px;
}

.BS_guest_author_form_container .form-field.BS_guest_author_main {
    padding: 0 10px;
}

#BS_guest_author_name {
    display: block;
    width: 100%;
    margin: 0 0 10px;

}

.tab-control[type=radio]:checked + label.tab-control-controller {
    background: white;
    border-color: #ccc;
    border-bottom-color: white;
}

#BS_guest_author_image_media_manager {
    position: relative;
    display: inline-block;
    max-width: 80%;
}

#BS_guest_author_the_rest {
  padding-bottom: 10px;
}

#BS_guest_author_the_rest.disabled {
    pointer-events: none;
    background-color: rgba(0,0,0,0.1);
    opacity: 0.6;
    transition: opacity 0.2s, background-color 0.2s;
}

#BS_guest_author_the_rest.disabled #BS_guest_author_image_media_manager_edit_button,
#BS_guest_author_the_rest.disabled #BS_guest_author_image_media_manager_remove_button {
    pointer-events: none;
}

#BS_guest_author_image_media_manager_edit_panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    font-size: 20px;
}

#BS_guest_author_image_media_manager_remove_button {
    cursor: pointer;
    background-color: rgba(226, 11, 0, 0.8);
    transition: background-color 0.2s;
    display: inline-block;
    padding: 5px;
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    font-weight: bold;
    color: white;
}


#BS_guest_author_image_media_manager_edit_button {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    font-size: 1.6em;
    opacity: 0.1;
    background-color: rgba(255,255,255,0.6);
    transition: opacity 0.2s;
}

#BS_guest_author_image_media_manager:hover #BS_guest_author_image_media_manager_edit_button {
    opacity: 1;
}


#BS_guest_author_image_media_manager_edit_button .dashicons {
    font-size: 1.5em;
    opacity: 0.8;
    width: auto;
    height: auto;
}

#BS_guest_author_image_media_manager_remove_button:hover {
    background-color: rgba(226, 11, 0, 1);

}

#BS_guest_author_image_media_manager img {
    height: auto;
    width: 100%;
}

#BS_guest_author_image-container,
#BS_guest_author_info-container {
    padding: 0 10px;
    box-sizing: border-box;
}

#BS_guest_author_image-container {
    width: 30%;
    float: left;
}

#BS_guest_author_info-container {
    width: 70%;
    float: right;
}

#postbox-container-1 #BS_guest_author_image-container,
#postbox-container-1 #BS_guest_author_info-container {
    width: 100%;
    float: none;
}

.clear {
    clear: both;
}

/* Gutenberg Compatibility */
#editor .postbox .hndle {
    color: #191e23 !important;
    font-size: 13px;
    line-height: normal;
    padding: 15px;
}

#editor .postbox .hndle:hover {
    background: #f2f4f5;
}

#editor .postbox .handlediv {
    color: #191e23 !important;
    height: 46px;
    width: auto;
    padding: 0 14px 0 5px;
    position: relative;
    z-index: 2;
}

#editor .postbox .handlediv .toggle-indicator {
    color: inherit;
}

#editor .postbox.closed .handlediv .toggle-indicator:before {
    content: "\f347";
}

#editor .postbox .handlediv .toggle-indicator:before {
    content: "\f343";
    font-size: 18px;
    width: auto;
}

@media (min-width: 781px) {
    .gutenberg-style #BS_guest_author_info-container,
    .gutenberg-style #BS_guest_author_image-container {
        width: auto;
        float: none;
    }
}


@media (max-width: 500px) {
    .image-container,
    .info-container {
        width: auto;
        float: none;
    }
}
