#file_embed_popup {
    display: none;
    font-family: AlbertaSans, Roboto, sans-serif;
    z-index: 10009999;
}
#file_embed_popup * {
    box-sizing: border-box;
}
#file_embed_popup .modal-inner {
    display: none;
    padding-top: 0;
    width: 550px;
    margin-left: -275px;
    left: 50%;
    top: 275px;
    min-height: 250px;
    max-height: calc(100% - 400px);
    overflow: visible;
    border: none;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    z-index: 10000003;
    overflow: auto;
    overflow-y: scroll;
}
#file_embed_popup .modal-inner::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}
#file_embed_popup .modal-inner::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.45);
    border-radius: 10px;
    box-shadow: rgba(255, 255, 255, 0.3) 0 0 0 1px;
}
#file_embed_popup .modal-inner:hover::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.55);
}
@media screen and (max-height: 1000px) {
    #file_embed_popup .modal-inner {
        top: 10%;
        max-height: 80%;
    }
}
@media screen and (max-height: 600px) {
    #file_embed_popup .modal-inner {
        min-height: 80%;
    }
}
@media screen and (max-width: 550px) {
    #file_embed_popup .modal-inner {
        width: 90%;
        margin-left: -45%;
    }
}
@media screen and (max-width: 30em) {
    #file_embed_popup .modal-inner {
        top: 30px;
        border-radius: 8px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        width: auto !important;
        margin-left: 0 !important;
        left: 0 !important;
        right: 0 !important;
        padding-top: 0;
        height: calc(100% - 30px);
        max-height: unset;
    }
}
#file_embed_popup.modal-container:before {
    display: none;
}
#file_embed_popup.modal-container .modal-close:before {
    opacity: 0.7;
}
#file_embed_popup.modal-container .modal-close:after {
    margin-left: 260px;
    color: #fff;
    z-index: 10000002;
    border-radius: 3px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    line-height: 25px;
    border: 0;
    cursor: pointer;
    top: 250px;
    font-size: 0;
    background: url(/images/popups/close-shadow3.svg) center no-repeat;
    height: 18px;
    width: 18px;
    padding: 0;
}
@media screen and (max-height: 1000px) {
    #file_embed_popup.modal-container .modal-close:after {
        top: calc(10% - 25px);
    }
}
@media screen and (max-width: 550px) {
    #file_embed_popup.modal-container .modal-close:after {
        margin-left: calc(45% - 15px);
    }
}
@media screen and (max-width: 30em) {
    #file_embed_popup.modal-container .modal-close:after {
        top: 6px;
        left: 0;
        right: 5px;
        margin-left: auto;
    }
}
#file_embed_popup .inner > .content {
    padding: 25px;
    text-align: center;
}
@media screen and (max-width: 30em) {
    #file_embed_popup .inner > .content {
        padding: 20px 16px;
    }
}

#file_embed_popup.modal-container .modal-close:before {
    display: block;
}


      

#file_embed_popup .file_embed_section + .file_embed_section {
    margin-top: 22px;
}
#file_embed_popup .file_embed_section_title {
    font-weight: 800;
    margin-bottom: 15px;
    text-align: left;
}


#file_embed_popup .input-label {
    position: relative;
    margin-bottom: 12px;
    display: inline-block;
    width: 100%;
}

#file_embed_popup .input-label input {
    border-radius: 10px;
    padding: 0 15px;
    box-sizing: border-box;
    border: 1px solid #D9D9D9;
    height: 44px;
    line-height: 19px;
    color: #737373;
    margin: 0;
    margin-top: 8px;
    width: 100%;
    padding-top: 3px;
}

#file_embed_popup .input-label:after{
    content: '';
    position: absolute;
    background-color: transparent !important;
    background: -moz-linear-gradient(right, rgba(255, 255, 255, 1) calc(100% - 50px), rgba(255, 255, 255, 0) 100%);
    background: -webkit-linear-gradient(right, rgba(255, 255, 255, 1) calc(100% - 50px), rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(to left, rgba(255, 255, 255, 1) calc(100% - 50px), rgba(255, 255, 255, 0) 100%);
    width: 115px;
    height: 42px;
    display: block;
    right: 1px;
    bottom: 1px;
    border-top-right-radius: 9px;
    border-bottom-right-radius: 9px;
    pointer-events: none;
}

#file_embed_popup .input-label label {
    position: absolute;
    background: white;
    min-width: unset;
    left: 10px;
    z-index: 1;
    line-height: 16px;
    width: fit-content;
    padding: 0 5px;
    color: #242424;
    text-align: left;
    text-align-last: left;
    font-weight: 500;
    font-size: 12px;
}

#file_embed_popup .input-label label img {
    width: 12px;
    height: 12px;
    margin-left: 5px;
    margin-bottom: 2px;
}

#file_embed_popup .input-label .copy_button_embed {
    background-image: url("/images/UI_icons/copy.svg");
    min-width: 36px;
    height: 36px;
    right: 4px;
    bottom: 4px;
    position: absolute;
    background-position: center;
    background-position-x: 8px;
    background-repeat: no-repeat;
    background-size: 12px 12px;
    padding: 0 5px 0 26px;
    z-index: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
    border-radius: 5px;
}

#file_embed_popup .input-label .copy_button_embed:hover {
    background-image: url("/images/UI_icons/blue/copy.svg");
}

#file_embed_popup .input-label .copy_button_embed.copied {
    background-image: url("/images/UI_icons/white/copy.svg");
    background-color: #42c689;
}
#file_embed_popup .input-label .copy_button_embed .copy_text {
    display: flex;
    transition: color 0.3s ease;
}

#file_embed_popup .input-label .copy_button_embed.copied .copy_text div.copied {
    color: white;
}
#file_embed_popup .input-label .copy_button_embed:hover .copy_text div.hover {
    color: #417FF2;
}

#file_embed_popup .input-label .copy_button_embed .copy_text div {
    max-width: 0;
    overflow: hidden;
    transition: max-width 0.5s ease;
    text-wrap: nowrap;
}

#file_embed_popup .input-label .copy_button_embed.copied .copy_text div.hover {
    transition: unset;
    display: none;
}
#file_embed_popup .input-label .copy_button_embed.copied:hover .copy_text div.hover {
    transition: unset;
    display: none;
}

#file_embed_popup .input-label .copy_button_embed:hover .copy_text div.hover {
    max-width: 300px;
}
#file_embed_popup .input-label .copy_button_embed.copied {
    min-width: 90px;
}
#file_embed_popup .input-label .copy_button_embed.copied:hover .copy_text div.hover {
    max-width: 0; 
}
#file_embed_popup .input-label .copy_button_embed.copied .copy_text div.copied {
    max-width: 300px;
}

#file_embed_popup .for_help {
    margin-top: 12px;
    text-align: center;
}
#file_embed_popup .for_help a {
    text-decoration: unset;
    font-size: 12px;
    line-height: 16px
}
@media screen and (max-width: 30em) {

    #file_embed_popup .file_embed_section_title,
    #file_embed_popup .input-label input,
    #file_embed_popup .for_help a {
        font-size: 14px;
    }
    #file_embed_popup .input-label .copy_button_embed {
        background-size: 16px 19px;
    }

    #file_embed_popup .input-label .copy_button_embed:hover,
    #file_embed_popup .input-label .copy_button_embed.copied {
        background-size: 12px 12px;
    }

    #file_embed_popup .input-label label img {
        display: none;
    }
    
}