/*

 * @wordpress-plugin
 * Plugin Name:       inwendo Website Basics
 * Plugin URI:        https://inwendo.de
 * Author:            Dennis Bartels
 * Author URI:        https://inwendo.de
 * Author:            Enno Steppat
 * Author URI:        https://inwendo.de
 */

/* ****************************************************** */

/* Standard Button */
.iw_wbs_button.margin-bottom-half {
    margin-bottom: -51px;
}

.iw_wbs_button button {
    padding: 12px 30px 11px 30px;
    font-weight: 700;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 1px;
    cursor: pointer;
    text-transform: uppercase;
    -webkit-appearance: none;
    -moz-appearance: none;
    border-radius: 3px;
}

.iw_wbs_button button {
    background-color: #17EFEF;
    border: 3px solid #17EFEF;
    color: #EF17EF;
}

.iw_wbs_button button:hover {
    background-color: #EF17EF;
    color: #17EFEF;
}

/* App Badges */
.iw_wbs_appbadges {
    text-align: center;
}

.iw_wbs_appbadges img {
    width: 135px;
}

/* Screenshot Viewer */

.iw_wbs_screenshot_viewer_image {
    cursor: pointer;
}

.iw_wbs_screenshot_viewer img {
    width: 100%;
}

/** Screenshot Viewer Lightbox */
#iw_wbs_screenshot_viewer_lightbox {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    z-index: 1000;
}

#iw_wbs_screenshot_viewer_lightbox .close {
    margin-top: 40px;
    margin-right: 40px;
    position: absolute;
    top: 0;
    right: 0;
    transform: scale(2);
    cursor: pointer;
    z-index: 100;
}

#iw_wbs_screenshot_viewer_lightbox .content_wrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    cursor: pointer;
}

#iw_wbs_screenshot_viewer_lightbox .content {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#iw_wbs_screenshot_viewer_lightbox .img_title {
    position: absolute;
    top: unset;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 25px 0;
    font-size: 22px;
    line-height: 25px;
    color: #E30613;
    font-weight: 700;
}

#iw_wbs_screenshot_viewer_lightbox .counter {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    font-size: 25px;
}

#iw_wbs_screenshot_viewer_lightbox .content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* SVG Viewer */

.iw_svg_viewer .iw_svg_viewer_code{
    display: inline-block;
}

@media screen and (max-width: 1200px) {
    #iw_wbs_screenshot_viewer_lightbox .content {
        left: 75px;
        right: 75px;
    }
}

@media screen and (max-width: 860px) {
    #iw_wbs_screenshot_viewer_lightbox .content {
        left: 35px;
        right: 35px;
    }

    #iw_wbs_screenshot_viewer_lightbox .content_wrapper {
        top: 75px;
        bottom: 75px;
    }

    #iw_wbs_screenshot_viewer_lightbox .counter {
        bottom: 30px;
    }

    #iw_wbs_screenshot_viewer_lightbox .close {
        margin-top: 30px;
        margin-right: 30px;
    }
}

@media screen and (max-width: 420px) {
    #iw_wbs_screenshot_viewer_lightbox .content {
        left: 15px;
        right: 15px;
    }
}
