@media all {
    .featherlight {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 2147483647;
        padding: 0px;
        text-align: center;
        white-space: nowrap;
        cursor: none;
        background: #333;
        background: rgba(0, 0, 0, 0);
    }
    .featherlight:last-of-type {}
    .featherlight:before {
        content: '';
        display: inline-block;
        height: 100%;
        vertical-align: middle;
        margin-right: -0.25em;
    }
    .featherlight .featherlight-content {
        position: relative;
        text-align: left;
        vertical-align: middle;
        display: inline-block;
        overflow: auto;
        padding: 0;
        /*border: 1px solid #000;*/
        border: none;
        max-width: 100%;
        max-height: 100%;
        background: transparent;
        cursor: default;
        white-space: normal;
        -ms-overflow-style: none;
    }
    .featherlight .featherlight-inner {
        display: block;
    }
    .featherlight.light .featherlight-floatcontainer {
    	position: absolute;
    	right: 0;
    	border: none;
    	width: 20px;
    }
    .featherlight.light .featherlight-close-icon {
        position: fixed;
        z-index: 9999;
        font-size: 20px;
        line-height: 20px;
        width: 20px;
        cursor: pointer;
        text-align: center;
        font-family: Arial, sans-serif;
        border: none;
        color: #333;
    }
    .featherlight.dark .featherlight-floatcontainer {
    	position: absolute;
    	right: 0;
    	border: 0;
    	width: 30px;
    }
    .featherlight.dark .featherlight-close-icon {
        font-family: Arial, Helvetica, sans-serif;
        font-family: Verdana, "Bitstream Vera Sans", "DejaVu Sans", Tahoma, Geneva, Arial, Sans-serif;
        position: absolute;
        z-index: 9999;
        top: 0;
        right: 0;
        font-size: 26px;
        line-height: 22px;
        width: 26px;
        height: 26px;
        cursor: pointer;
        text-align: center;
        border: 1px solid #aaa;
        color: #fff;
        text-shadow: 0px 0px 3px #000;
    }
    .featherlight .featherlight-image {
        width: 100%;
        border: none;
    }
    .featherlight-iframe .featherlight-content {
        border-bottom: none;
        padding: 0;
    }
    .featherlight iframe {
        border: none;
    }
    .featherlight.dark {
        background: rgba(0, 0, 0, 1.0);
    }
    .featherlight.light {
        background: rgba(225, 225, 225, .75);
    }

    .featherlight.light .featherlight-content { border: 1px solid #999; }

    .featherlight-loading .featherlight-content {
        border: none;
    }
    .featherlight-loading.dark:before {
        content: url('loadinfo.net-dark2.gif');
        top: 50vh;
        left: 50vw;
        position: absolute;
        -webkit-animation: fadein 2s;
        -moz-animation: fadein 2s;
        -ms-animation: fadein 2s;
        -o-animation: fadein 2s;
        animation: fadein 2s;
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
    .featherlight-loading.light:before {
        content: url('loadinfo.net-light2.gif');
        top: 50vh;
        left: 50vw;
        position: absolute;
        -webkit-animation: fadein 2s;
        -moz-animation: fadein 2s;
        -ms-animation: fadein 2s;
        -o-animation: fadein 2s;
        animation: fadein 2s;
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
    @keyframes fadein {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
    @-moz-keyframes fadein {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
    @-webkit-keyframes fadein {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
    @-ms-keyframes fadein {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
    @-o-keyframes fadein {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
    .closeme {
        float: right;
        top: 0;
        right: 0;
        clear: none;
        margin: 4px -1px 0 0;
        z-index: 6;
    }
    .gallery {
        cursor: pointer;
    }
    .gallery-caption-container {
        cursor: url(close.cur) 14 14, cell;
        z-index: 0;
    }
    .gallery-caption {
        color: white;
        position: absolute;
        bottom: 6px;
        left: 6px;
        right: 6px;
        padding: 2px 7px 4px 7px;
        font-size: 0.95rem;
        line-height: 1.3rem;
        border: 1px solid rgba(0, 0, 0, 0.5);
        z-index: 7;
        overflow: auto;
        max-height: 95%;
    }
    .gallery-caption.black {
        color: black;
        text-shadow: none;
        opacity: 1;
        border: 1px solid rgba(0, 0, 0, 0.4);
    }
    .gallery-caption-crop {
        color: transparent;
        position: absolute;
        bottom: 6px;
        left: 6px;
        right: 6px;
        padding: 2px 7px 4px 7px;
        font-size: 0.95rem;
        line-height: 1.3rem;
        overflow: hidden;
        border: 1px solid transparent;
        z-index: 5;
        max-height: 95%;
    }
    .gallery-caption-bg {
        color: transparent;
        position: absolute;
        bottom: -6px;
        top: -6px;
        left: -6px;
        right: -6px;
        background-position: center bottom;
        background-size: 100%;
        background-repeat: no-repeat;
        margin: 0px;
        padding: 12px 26px 13px 12px;
        font-size: 0.95rem;
        line-height: 1.3rem;
        -webkit-filter: blur(5px) invert(12%) brightness(65%) contrast(95%);
        -moz-filter: blur(5px) invert(12%) brightness(65%) contrast(95%);
        -o-filter: blur(5px) invert(12%) brightness(65%) contrast(95%);
        -ms-filter: blur(5px) invert(12%) brightness(65%) contrast(95%);
        filter: blur(5px) invert(12%) brightness(65%) contrast(95%);
        opacity: 1.0;
    }
    .gallery-caption-bg.black {
        -webkit-filter: blur(6px) invert(15%) brightness(155%) contrast(80%);
        -moz-filter: blur(6px) invert(15%) brightness(155%) contrast(80%);
        -o-filter: blur(6px) invert(15%) brightness(155%) contrast(80%);
        -ms-filter: blur(6px) invert(15%) brightness(155%) contrast(80%);
        filter: blur(6px) invert(15%) brightness(155%) contrast(80%);
    }
    .gallery-caption p {
        pointer-events: none;
    }
}

@media screen and (max-width:63.9375em) {
    .gallery-caption {
        font-size: 0.9rem;
    }
    .gallery-caption-bg {
        font-size: 0.9rem;
    }
    .gallery-caption-crop {
        font-size: 0.9rem;
    }
    .featherlight.dark .featherlight-close-icon {
        font-size: 22px;
        line-height: 20px;
        width: 22px;
        height: 22px;
        text-shadow: 0px 0px 2px #000;
    }
    .featherlight.light .featherlight-close-icon {
        font-size: 18px;
        line-height: 18px;
        width: 18px;
        height: 18px;
    }
}

@media only screen and (max-width:39.9375em) {
    .gallery-caption {
        font-size: 0.8rem;
    }
    .gallery-caption-bg {
        font-size: 0.8rem;
    }
    .gallery-caption-crop {
        font-size: 0.8rem;
    }
    .featherlight.dark .featherlight-close-icon {
        font-size: 18px;
        line-height: 16px;
        width: 18px;
        height: 18px;
        text-shadow: 0px 0px 2px #000;
    }
    .featherlight.light .featherlight-close-icon {
        font-size: 16px;
        line-height: 16px;
        width: 16px;
        height: 16px;
    }
}

@media only screen and (max-width:1024px) {
    .featherlight .featherlight-content {
        max-width: 100%;
        max-height: 100%;
    }
}
