
#rg-speakers-search {
    float: right;
}
.rg-speakers-top-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
}
.rg-speakers-editor-table {
    border-left: 0;
    border-right: 0;
}
.rg-speakers-editor-table td,
.rg-speakers-editor-table th {
    padding: .7em 1em;
    border-width: 0 0 1px 0;
}

.rg-speakers-editor-table th a {
    text-decoration: none !important;
}
table.rg-speaker-editor-table {
    border-left: none;
}
.rg-speakers-edit-container {
    display: flex;
    gap: 20px;
}
@media (max-width: 768px) {
    .rg-speakers-edit-container {
        flex-direction: column;
    }
}
.rg-speaker-editor {
    margin: 20px;
}
.rg-speaker-editor-top {
}
.rg-speaker-editor-left {
    padding-top: 10px;
}
.rg-speaker-editor-right {
    flex: 1 1 70%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rg-speaker-field {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    flex-direction: column;
    flex: 1 0 150px;
}
.rg-speaker-label {
    width: 100%;
    text-align: left;
    padding-right: 10px;
}
.rg-speaker-editor-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.rg-speaker-editor-socials .rg-speaker-field {
    flex-direction: column;
    flex: 200px 1 1;
}
.rg-speaker-value {
    flex: 1 1 100%;
    width: 100%;
}
.rg-speaker-value > input {
    padding: 0.2em 0.6em;
    width: 100%;
}

.rg-speakers-btn {
    background: #f1982f;
    padding: 0.7em 1em;
    color: #FFF;
    border: solid 2px #f1982f;
    font-weight: 700;
}

.rg-speakers-btn:hover,
.rg-speakers-btn:focus {
    background: #FFF;
    padding: 0.7em 1em;
    color: #f1982f;
}

.rg-speakers-cropmodal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.rg-speakers-cropmodal .rg-speakers-cropmodal-content {
    background-color: #fefefe;
    margin: 40px auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

label.rg-speakers-editor-image-wrapper {
    display: inline-block;
    position: relative;
}

label.rg-speakers-editor-image-wrapper::after {
    transition: all 0.3s;
    content: '';
    position: absolute;
    display: block;
    width: 25px;
    height: 25px;
    background-color: rgba(255, 255, 255, 0.5);
    top: 5px;
    left: 5px;
    z-index: 1;
    cursor: pointer;
    background-position: center;
    background-size: 50%;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' viewBox='0 0 306.637 306.637'%3E%3Cpath d='M12.809 238.52 0 306.637l68.118-12.809 184.277-184.277-55.309-55.309L12.809 238.52zm47.981 41.423-41.992 7.896 7.896-41.992L197.086 75.455l34.096 34.096L60.79 279.943zM251.329 0l-41.507 41.507 55.308 55.308 41.507-41.507L251.329 0zm-20.294 41.507 20.294-20.294 34.095 34.095-20.294 20.294-34.095-34.095z'/%3E%3C/svg%3E");

}
label.rg-speakers-editor-image-wrapper:hover::after {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-size: 12%;
}

.cropClose {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.cropClose:hover,
.cropClose:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.rg-speakers-crop-split {
    display: flex;
}
.rg-speakers-crop-left {
    width: 49%;
    display: inline-block;
}
.rg-speakers-crop-right {
    width: 50%;
    display: inline-block;
    padding: 20px;
}
.rg-speakers-crop-image {
    max-width: 100%;
    max-height: 80vh;
}
.rg-speakers-crop-image-preview {
    max-width: 50%;
    max-height: 40vh;
    width: 200px;
    height: 200px;
    overflow: hidden;
}



.rg-btn-loading,
.rg-btn-loading:hover,
.rg-btn-loading:focus  {
    background: #ccc;
    color: #666;
    border-color: #666;
    cursor: not-allowed;
    pointer-events: none;
    position: relative;
    opacity: 0.7;
}

.rg-btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}