/**
   digitale-rouwkaart-builder-background-selector
 */
.digi-rouwkaart-background .video-container{
    background-color: rgba(153,191,194,0.3)
}
.digi-rouwkaart-background img{
    width: 100%;
    height: auto;
}
.video-canvas-component .digi-rouwkaart-background {
    top: 10px;
    left: 10px;
}
.media-styling {
    border-radius: 10px;
}
.video-canvas-component .digi-rouwkaart-background span.material-symbols-outlined {
    position: absolute;
    left: 22px;
    top: 10px;
    color: white;
    font-size: 50px;
}

.video-canvas-component{
    position: relative;
}
.video-canvas-component >img{
    height: 100%;
    width: 100%;
    z-index: 1;
    left: 0;
    top: 0;
    pointer-events: none !important;
    touch-action: none !important;
    position: relative;
}

.video-canvas-component .digi-rouwkaart-background{
    top: 10px;
    left: 10px;
    position: absolute;
    overflow: hidden;
    border-radius: 10px;
}
.music-examples-container p,
.background-examples-container p{
    font-size: 16px;
}

.audio-container,
.video-canvas-background-container{
    max-height: calc( 100vh - 280px );
    clear: both;
    float: left;
    overflow-y: scroll;

}

/**
   CTA
 */
.cta-image {
    border: solid 1px #f1f1f1;
    height: 360px;
    display: flex;
    justify-content: center;
}
.cta-row,
.cta-image {
    text-align: center;
    position: relative;
}
.cta-image img{
    align-self: center;
}
.cta-image.portrait img{
    height: 100%;
    width: auto;
}
.cta-image.landscape img{
    width: 100%;
    height: auto;
}
/**
   audio-file
 */
.digi-rouwkaart-audio .audio-title-container{
    text-align: center;
}
.audio-play:hover{
    cursor: pointer;
}
.audio-duration-container,
.audio-play{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
}
.digi-rouwkaart-audio .track-container{
    background: #f1f1f1;
    display: flex;
    border-radius: 25px;
}
.digi-rouwkaart-audio > *{
    width: 100%;
    clear: both;
}
.digi-rouwkaart-audio{
    margin: 10px;
    width: calc( 33% - 20px );
    float: left;
    overflow: hidden;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.digi-rouwkaart-audio .row > div{
    float: left;
    justify-content: center;
    display: flex;
    align-items: center;
}
.audio-wave-file img{
    max-width: 100%;
}
.audio-file{
    background-color: #E1F4F3 !important;
    height: 535px;
    width: 300px;
    border-radius: 10px;
    position: relative;
}
.audio-play img{
    height: 75px;
    max-width: 90px;
}
.audio-file-screen{
    position: relative;
    top: 25px;
    left: 25px;
    background-color: #99BFC2 !important;
    height: 250px;
    width: 250px;
    border-radius: 10px;
}

.audio-file-screen-text{
    color: #505050;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 75px;
}

.audio-file-button:hover{
    cursor: pointer;
}
.audio-file-button:hover > div{
    outline: solid 7px #85A6A8;
}
.audio-file-button > div{
    border-radius: 999px;
}
.audio-file-button{
    text-align: center;
    margin-top: 50px;
    position: relative;
    z-index: 99999;
    justify-content: center;
    align-items: center;
    display: flex;
}
.templates{
    width: 100%;
    height: calc(100% - -30px);
    overflow: hidden;
}

.grid-item{
    position: relative;
    margin: 0 10px 20px;
    border-radius: 24px;
    overflow: hidden;
    min-height: 55px;
}

.image-collection-component-v2 .scroll-container{
    height: calc(100% - 60px);
    overflow-y: scroll;
    max-height: none;
    padding: 15px 0;
}

.metro-container{
    columns: 3 auto;
    column-gap: 1px;
}
.sub-page.images .col{
    flex: 1;
}
.sub-page.images .metro-container .grid-item{
    //width: calc( 33% - 20px );
}
.sub-page.images .metro-container{
    margin-top: 1px;
    //display: grid;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    columns: initial !important;
    column-gap: initial !important;
    align-items: start;
    //grid-template-columns: repeat(auto-fill, minmax(calc(33% - 20px), 1fr));
    //grid-auto-rows: auto;
    //grid-gap: 10px;
}
.image-bottom-toolbar img{
    height: 30px;
}
.image-bottom-toolbar *{
    font-size: 24px;
    flex: 1;
}
.category-index-item#branding{
    padding-top: 0px !important;
}
.image-bottom-toolbar{
    height: 72px;
    line-height: 72px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.cover.main .modal-body{
    height: calc(100% - 400px);
    display: flex;
    align-items: center;
}
.cover.main .modal-footer,
.cover.main .modal-body,
.cover.main .modal-header{
    border: none !important;
}
.cover.main .modal-sub-header{
    //height: 200px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cover.main .modal-footer{
    position: absolute;
    bottom: 10px;
    right:0;
    left: 0;
}

/**** Slider ****/
.fp-square-container{
    height: calc( 100vh - 100px );
    overflow:hidden;
    background: ghostwhite;
    box-shadow: 0 3px 10px rgb(0 0 0 / 75%);
    width: 100%;
    position: relative;
}
.modal-footer,
.modal-header{
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal-header{
    height: 150px;
}
.sub-page .modal-header{
    height: 100px;
}

.sub-page .modal-header img,
.modal-footer img{
    max-height: 30px !important;
}
.sub-page .modal-header img{
    max-height: 80px !important;
}
.modal-footer{
    height: 50px;
    padding: 0;
}
.modal-body{
    height: calc( 100% - 195px );
    display: flex;
    align-items: center;
}
.modal-footer img,
.modal-header img{
    max-width: 500px;
    max-height: 130px;
}

.dela-env .modal-header img {
    max-width: 500px;
    max-height: 60px !important;
}
.modal-footer,
.modal-header{
    text-align: center;
}
.cover-item img{
    width: calc( 100% - 10px );
}
.cover-item h2{
    position: absolute;
    bottom: 0;
    font-size: 18px;
    width: 100%;
    text-align: center;
}
.cover-item{
    text-align: center;
    position: relative;
    width: calc(25% - 20px);
    margin: 10px;
    float: left;
    background: white;
    overflow: hidden;
    height: 300px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    padding: 20px 10px 50px 10px;
    justify-content: center;
}
#drukwerk-preview-container{
   // max-height: calc( 100vh - 300px );
    max-height: 100%;
    background: ghostwhite !important;
}
.cover-item:hover{
    cursor: pointer;
}
/**** scroll-container  ****/
.scroll-container{
    overflow-y: scroll;
    width: 100%;
}

.drukwerk-preview{
    max-height: calc(100% );
    //display: flex;
    //justify-content: center;
   // align-items: center;
    width: 100%;
}


.list-print-types .scroll-container ,
.sub-page.images .scroll-container ,
.list-templates .templates .scroll-container {
    max-height: calc(100vh - 350px) !important;
}
#drukwerk-preview-container{
    max-height: calc(100vh - 300px);
}
.flipbook-container {
    width: 100%;
    height: calc(100vh - 300px);
}
@media (max-width: 768px) {
    .flipbook-container {
        width: 100%;
        height: calc(100vh - 300px);
    }
    .flipbook-page {
        width: 100%;
        height: auto;
    }
}
@media only screen
and (max-height : 800px) {
    .list-print-types .scroll-container,
    .sub-page.images .scroll-container,
    .list-templates .templates .scroll-container {
        max-height: calc(100vh - 260px) !important;
    }
    .container:not(.intro) .modal-body {
        height: calc(100% - 140px) !important;
    }
    .sub-page .modal-header {
        height: 60px !important;
    }
    .sub-page .modal-header img{
        max-height: 40px !important;
    }
    .modal-sub-header h2{
        margin-top: 10px !important;
    }
    .modal-header {
        height: 100px;
    }
    .cover.main .modal-body {
        height: calc(100% - 250px);
        display: flex;
        align-items: center;
    }
}

#page-overlay{
    width: 100%;
    background: transparent;
}

.dela-env #catalog-toolbar .catalog-logo img{
    height: 25px !important;
    margin-top: 5px !important;
}


.horizontal #drukwerk-preview-container >canvas {
    transform: rotate(90deg);
}