﻿

.module-global-text-format ul.pressImages {
    margin-right: -10px;
    display: flex;
    flex-flow: row wrap;
}

.module-global-text-format ul.pressImages li {
    width: calc(25% - 10px);
}

.module-global-text-format ul.pressImages img {
    max-width: 100%;
}

@media screen and (max-width: 480px) {

    .module-global-text-format ul.pressImages li {
        width: calc(50% - 10px);
    }

    #lightboxCustom .box {
        height: auto;
    }

}














    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    #lightboxCustom,
    #lightboxCustom * {
        box-sizing: border-box;
        -moz-box-sizing: border-box;
    }

    #lightboxCustom {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 9999999999;
        visibility: hidden;
        opacity: 0;
        transition: .5s;
        background-color: rgba(255,255,255,0.9);
    }

        #lightboxCustom .box {
            height: 100%;
            display: flex;
            justify-content: center;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%,-50%);
            min-width: 100px;
            min-height: 100px;
            width: 100%;
            align-items: center;
        }

            #lightboxCustom .box:before {
                width: 60px;
                height: 60px;
                border-radius: 1000px;
                border: 3px solid #eee;
                content: '';
                display: block;
                top: 50%;
                left: 50%;
                position: absolute;
                transform: translate(-50%,-50%);
                animation: spin 1s infinite linear;
                border-top-color: #000;
                margin-top: -32px;
                margin-left: -32px;
            }

            #lightboxCustom .box img {
                display: block;
                max-width: 100%;
                max-height: 100%;
                width: auto;
                height: auto;
                z-index: 100;
                transition: .5s;
                position: relative;
                margin: 0 auto;
            }

            /*#lightboxCustom .box img {
                height: 100%;
                width: auto;
				max-width: none;
            }*/

                #lightboxCustom .box img.hidden {
                    opacity: 0;
                }

        #lightboxCustom .close {
            right: 20px;
            top: 20px;
            position: absolute;
            height: 50px;
            width: 50px;
            cursor: pointer;
            transition: .5s;
            z-index: 9999;
            background-color: rgba(255,255,255,0.5);
            box-shadow: 1px 1px 8px rgba(0,0,0,0.15);
            border-radius: 7px;
        }

            #lightboxCustom .close:after,
            #lightboxCustom .close:before {
                position: absolute;
                top: 50%;
                left: 50%;
                width: 40%;
                height: 3px;
                background-color: #000;
                transform: translate(-50%, -50%) rotate(45deg);
                content: '';
            }

            #lightboxCustom .close:after {
                transform: translate(-50%, -50%) rotate(-45deg);
            }

        #lightboxCustom .arrows {
            cursor: pointer;
            top: 45px;
            transform: translate(0, -50%);
            position: absolute;
            height: 50px;
            width: 50px;
            /*background-color: rgba(255,255,255,0.5);
            box-shadow: 1px 1px 8px rgba(0,0,0,0.15);*/
            border-radius: 7px;
            z-index: 9999;
        }

            #lightboxCustom .arrows:after,
            #lightboxCustom .arrows:before {
                position: absolute;
                top: 50%;
                left: 50%;
                position: absolute;
                width: 25%;
                height: 3px;
                background-color: #000;
                transform: translate(-40%, -50%) rotate(45deg);
                content: '';
                margin-top: -4px;
                transition: .5s;
            }

            #lightboxCustom .arrows:after {
                margin-top: 4px;
                transform: translate(-40%, -50%) rotate(-45deg);
            }

        #lightboxCustom .arrows--left {
            right: auto;
            left: 75px;
        }

            #lightboxCustom .arrows--left:before {
                transform: translate(-60%, -50%) rotate(-45deg);
            }

            #lightboxCustom .arrows--left:after {
                transform: translate(-60%, -50%) rotate(45deg);
            }

        #lightboxCustom .arrows--right {
            right: 75px;
            left: auto;
        }

    html.show--lightboxCustom #lightboxCustom {
        visibility: visible;
        opacity: 1;
    }


@media screen and (max-width: 768px){

    #lightboxCustom .arrows {
        cursor: pointer;
        top: 45px;
        transform: translate(0, -50%);
        position: absolute;
        height: 40px;
        width: 40px;
        /*background-color: rgba(255,255,255,0.5);
        box-shadow: 1px 1px 8px rgba(0,0,0,0.15);*/
        border-radius: 7px;
        z-index: 9999;
    }

        #lightboxCustom .arrows:after,
        #lightboxCustom .arrows:before {
            position: absolute;
            top: 50%;
            left: 50%;
            position: absolute;
            width: 28%;
            height: 2px;
            background-color: #000;
            transform: translate(-40%, -50%) rotate(45deg);
            content: '';
            margin-top: -4px;
            transition: .5s;
        }

        #lightboxCustom .arrows:after {
            margin-top: 4px;
            transform: translate(-40%, -50%) rotate(-45deg);
        }

    #lightboxCustom .arrows--left {
        right: auto;
        left: 0px;
    }

        #lightboxCustom .arrows--left:before {
            transform: translate(-60%, -50%) rotate(-45deg);
        }

        #lightboxCustom .arrows--left:after {
            transform: translate(-60%, -50%) rotate(45deg);
        }

    #lightboxCustom .arrows--right {
        right: 0px;
        left: auto;
    }

    /*#lightboxCustom .box {
        height: auto;
    }*/

}