/* Builder Global Fixes and Updates */

/* DocumentFind spacing between elements */
.mr-group:not([style="display: none;"]) + .mr-group {
    margin-top: 24px;
}

#wdkCard_Content.wdk-featured-card.raised.h-auto h2.wdk-title {
    display: none;
}

/* Builder */
#wdkCard_Content.wdk-featured-card.raised.h-auto .wdk-fullscreen-header {
    height: 24px;
}

#wdkCard_Content.wdk-featured-card.raised.fullscreen .wdk-fullscreen-header {
    height: 66px;
}

.wdk-bldr-content

/* CKEditor */
#wdkCard_Content.wdk-featured-card.raised.h-auto .bldr-grid-container .bldr-ckeditor {
    height: calc(100vh - 544px) !important;
}

/* CKEditor fullscreen */
#wdkCard_Content.wdk-featured-card.raised.fullscreen .bldr-grid-container {
    height: 100% !important;
}

#wdkCard_Content.wdk-featured-card.raised.fullscreen .bldr-grid-container .bldr-ckeditor {
    padding: 16px 24px;
}

/* Fix overflow break line in document find */
#wdkCard_Content.wdk-featured-card.raised.fullscreen .bldr-grid-container .accordion-body .bldr-col .bldr-ckeditor {
    overflow: auto;
}

/* Video */
#wdkCard_Content.wdk-featured-card.raised.h-auto .bldr-col > div .bldr-video-container {
    min-height: 400px !important;
    height: calc(100vh - 536px) !important;
    padding: 0;
}

/* Video fullscreen */
#wdkCard_Content.wdk-featured-card.raised.fullscreen .bldr-col > div .bldr-video-container {
	padding: 0;
}

#wdkCard_Content.wdk-featured-card.raised.fullscreen .d-flex {
    height: 100%;
}
#wdkCard_Content.wdk-featured-card.raised.fullscreen .v-space {
    height: 0;
}
#wdkCard_Content.wdk-featured-card.raised.fullscreen .v-space ~ div {
    height: 100%;
}

#wdkCard_Content.wdk-featured-card.raised.fullscreen {
    padding: 0;
    padding-top: 66px;
}

/* ---- */

#wdkCard_Content.wdk-featured-card.raised.h-auto .wdk-documentfind-content {
    height: calc(100vh - 530px) !important;
    min-height: 240px !important;
    overflow: auto;
	scrollbar-width: thin !important;
}

#wdkCard_Content.wdk-featured-card.raised.h-auto .wdk-documentfind-content::-webkit-scrollbar-track {
	background-color: var(--white-02) !important;
	-webkit-box-shadow: inset 0 0 6px var(--white-02) !important;
    box-shadow: inset 0 0 6px var(--white-02) !important;
}
#wdkCard_Content.wdk-featured-card.raised.h-auto .wdk-documentfind-content::-webkit-scrollbar {
	background-color: var(--white-02) !important;
	width: 5px !important;
	height: 5px;
}
#wdkCard_Content.wdk-featured-card.raised.h-auto .wdk-documentfind-content::-webkit-scrollbar-thumb {
	background-color: var(--scroll-thumb-base-custom-color) !important;
	border-radius: 10px;
}


#wdkCard_Content.wdk-featured-card.raised.fullscreen .wdk-documentfind-content {
    height: 100%;
    padding: 16px 24px;
    overflow: auto;
}

/* Embed */
#wdkCard_Content.wdk-featured-card.raised.h-auto .wdk-documentfind-embed {
    height: calc(100vh - 530px) !important;
    min-height: 300px !important;
}

#wdkCard_Content.wdk-featured-card.raised.fullscreen .wdk-documentfind-embed {
    height: 100%;
    padding: 0;
}

#wdkCard_Content.wdk-featured-card.raised.h-auto .wdk-documentfind-embed embed,
#wdkCard_Content.wdk-featured-card.raised.h-auto .wdk-documentfind-embed video {
    height: 100% !important;
    width: 100%;
}

#wdkCard_Content.wdk-featured-card.raised.fullscreen .wdk-documentfind-embed embed {
    width: 100%;
    height: calc(100vh - 75px);
}
#wdkCard_Content.wdk-featured-card.raised.fullscreen .wdk-documentfind-embed video {
    width: 100%;
    height: calc(100vh - 68px);
    margin-left: -2px;
}

/* iframe */
#wdkCard_Content.wdk-featured-card.raised.h-auto .wdk-documentfind-iframe {
    height: calc(100vh - 545px) !important;
    min-height: 300px !important;
    overflow: hidden;
}

#wdkCard_Content.wdk-featured-card.raised.fullscreen .wdk-documentfind-iframe {
    height: calc(100vh - 92px);
    padding: 0;
}

#wdkCard_Content.wdk-featured-card.raised.h-auto .wdk-documentfind-iframe iframe {
    height: calc(100vh - 544px) !important;
    min-height: 300px !important;
    width: 100%;
    margin-left: -2px;
    margin-top: -1px;
}

#wdkCard_Content.wdk-featured-card.raised.fullscreen .wdk-documentfind-iframe iframe {
    width: 100%;
    height: 100%;
    margin-left: -2px;
}

/* Audio */
#wdkCard_Content.wdk-featured-card.raised.h-auto .wdk-documentfind-audio {
    min-height: 300px;
    text-align: center;
    position: relative;
    height: calc(100vh - 530px) !important;
}

#wdkCard_Content.wdk-featured-card.raised.h-auto .wdk-documentfind-audio center,
#wdkCard_Content.wdk-featured-card.raised.fullscreen .wdk-documentfind-audio center,
#wdkCard_Content.wdk-featured-card.raised.h-auto .wdk-documentfind-embed center,
#wdkCard_Content.wdk-featured-card.raised.fullscreen .wdk-documentfind-embed center {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

#wdkCard_Content.wdk-featured-card.raised.fullscreen .wdk-documentfind-audio {
    height: calc(100vh - 135px);
    text-align: center;
}

#wdkCard_Content.wdk-featured-card.raised.h-auto .wdk-documentfind-audio img {
    height: calc(100vh - 590px) !important;
}

#wdkCard_Content.wdk-featured-card.raised.fullscreen .wdk-documentfind-audio img {
    width: 100%;
    height: 100%;
}

/* Builder */
#wdkCard_Content.wdk-featured-card.raised.h-auto .wdk-documentfind-builder {
    height: calc(100vh - 530px) !important;
    min-height: 400px;
    overflow: auto;
}

#wdkCard_Content.wdk-featured-card .wdk-documentfind-builder .bldr-col,
.wdk-layout-mini .document-preview-container .bldr-col {
    overflow: auto;
}

#wdkCard_Content.wdk-featured-card.raised.h-auto .wdk-documentfind-builder .bldr-col + .bldr-col {
    margin-top: 16px;
}

#wdkCard_Content.wdk-featured-card.raised.h-auto .wdk-documentfind-builder .accordion-body .bldr-col + .bldr-col {
    margin-top: 0;
}

#wdkCard_Content.wdk-featured-card.raised.fullscreen .wdk-documentfind-builder {
    height: 100%;
    padding: 16px 24px;
}

/* END Builder Read Fixes */

/* Image overflow on documents mobile */
img.bldr-image.cover {
	height: auto !important;
}

/* Overrides */
.bldr-radio {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.bldr-radio:not(:last-child) {
    margin-top: 8px;
}

.bldr-radio-token {
    position: relative;
    display: inline-block;
    border-radius: 100%;
    width: 18px;
    height: 18px;
    border: 1px solid var(--primary);
    background-color: var(--white-01);
    margin-right: 6px;
    transition: var(--time-01);
}

.bldr-radio-token:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
    border-radius: 100%;
    width: 18px;
    height: 18px;
    background-color: var(--secondary);
    opacity: 0;
    transition: var(--time-01);
}

.bldr-radio-label {
    font-size: 14px;
}

/* Controllers */
.bldr-radio input:checked~.bldr-radio-token {
    background-color: var(--primary);
}

.bldr-radio input:checked~.bldr-radio-token:after {
    opacity: 1;
    width: 6px;
    height: 6px;
    transition-delay: var(--time-01);
}
