.oembed_snippet {
    margin-top: 10px;
    position: relative;
    padding-bottom: 55%;
    padding-top: 15px;
    overflow: hidden;

    &[data-oembed-provider="Twitter"],
    &[data-oembed-provider*="twitter.com"] {
        padding-bottom: 0 !important;
        padding-top: 0;
        margin-top: 0;
    }

    iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

.oembed_confirmation {
    background: @background-color-highlight-soft;
    border-radius: 4px;
    padding: 15px;
    line-height: 30px;
    i.fa {
        float: left;
        color: #02a0b0;
        background: #FFF;
        border-radius: 50%;
        font-size: 30px;
        line-height: 25px;
        margin-right: 15px;
    }
    > div:not(.clearfix) {
        float: left;
    }
}

#oembed-providers {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 -0.5rem;

    .oembed-provider-container {
        padding: 0;

        .oembed-provider {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
            border: 1px solid #ddd;
            border-radius: 2px;
            padding: 0.75rem;
            margin: 0 0.5rem 0.5rem 0.5rem;

            .oembed-provider-name {
                display: flex;
                justify-content: center;
                align-items: center;

                .label.label-error {
                    margin-left: 2px;
                }
            }
        }
    }
}

#endpoint-parameters {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 -15px;
}
