﻿
/* CSS for IFramePreviewBlock */
.iframepreview {
    position: relative;
    overflow: hidden;
    margin: 20px 0;
    max-width: 400px;
}

    .iframepreview a {
        text-decoration: none;
        display: block;
    }

    .iframepreview .image {
        height: 300px;
        /* display: flex;
    justify-content: center; */
        padding-bottom: 50px;
    }

@media only screen and (max-width: 767px) {
    .iframepreview .image {
        height: 250px;
    }
}

.iframepreview img {
    height: 100%;
}

.iframepreview .imageoverlay {
    background-color: #002856;
}

    .iframepreview .imageoverlay * {
        color: white;
    }

.iframepreview .imageoverlay {
    position: absolute;
    width: 100%;
    bottom: -5px;
    padding: 20px 20px 25px 20px;
    transition-duration: 0.35s;
}

.iframepreview:hover .imageoverlay {
    bottom: 0;
}

.iframepreview .imageoverlay * {
    margin: 0;
}

/* CSS for IFramePage */
#inspireiframe {
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    overflow: hidden;
    display: block;
    margin-top: -40px;
    height: 1000px;
}

#iframewrapperdiv {
    overflow: hidden;
}

@media only screen and (min-width: 768px) {
    #iframewrapperdiv {
        margin-top: -10px;
    }
}

@media only screen and (min-width: 992px) {
    #iframewrapperdiv {
        margin-top: -20px;
    }
}

#iframepageheader {
    margin-bottom: 40px;
    background-color: #002856;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

    #iframepageheader img {
        height: 60px;
        margin-left: 10px;
    }

    #iframepageheader h5 {
        display: inline;
        color: white;
        font-size: 16px;
    }

    #iframepageheader a {
        flex-grow: 0;
    }

    #iframepageheader span {
        margin: 0 10px;
        display: flex;
        align-items: center;
        flex-grow: 1;
    }

.closeiframe {
    text-decoration: none !important;
    padding: 0 10px;
    display: flex;
    height: 60px;
    align-items: center;
    margin-left: auto;
}

    .closeiframe * {
        color: white;
    }

@media only screen and (max-width: 767px) {
    .closeiframe h5 {
        display: none;
    }
}
