/*noinspection CssUnusedSymbol*/
.animate {
    transition: 0.2s all;
}

/*noinspection CssUnusedSymbol*/
.frame {
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    box-sizing: border-box;
    margin: 0 auto;
    position: relative;
    list-style: none;
	touch-action: none;
}

.frame li {
    display: inline-block;
    position: relative;
    cursor: pointer;
    animation: zoomIn 0.2s;
}

@keyframes zoomIn {
    from {
        transform: scale(0.1);
    }

    to {
        transform: scale(1);
    }
}

.frame div {
    width: 100%;
    height: 100%;
    outline: 1px solid #000;
    box-sizing: border-box;
    overflow: hidden;
    pointer-events: none;
}

.frame div:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(0,0,0,1);
    transition: all 0.2s;
}

/*noinspection CssUnusedSymbol*/
.frame div.highlight {
    z-index: 2;
}

/*noinspection CssUnusedSymbol*/
.frame div.highlight:before {
    outline: none;
    border:4px solid rgba(0,255,0,1);
}

.frame li:before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: -1;
    transition: 0.1s all;
}

/*noinspection CssUnusedSymbol*/
.frame li.highlight {
    position: relative;
}

/*noinspection CssUnusedSymbol*/
.frame li.highlight:before {
    background: rgba(0,255,0,.5);
    z-index: 2;
}

.frame div > img {
    display: block;

    z-index: -1;
    transition: all 0.2s;
}

.frame *[data-inplace="true"] img  {
    filter: grayscale(0);
}

.no-select {
    position: relative;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

/*noinspection CssUnusedSymbol*/
.full-img {
    max-width: 100%;
    width: 100% !important; /* Important tags needed to force responsiveness in IE */
    height: auto !important;
    background: rgba(255,255,255,1);
    outline: 2px solid #000;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0;
    transition: 0.5s opacity;
}

/*noinspection CssUnusedSymbol*/
.btn-primary {
    background: #9a371f;
}

.no-select {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}