.app-gallery .app-main-media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 337px;
    cursor: pointer;
}

.app-gallery .app-main-media .app-main-photo-wrap,
.app-gallery .app-main-media .app-main-video-wrap {
    width: 99% !important;
    height: 100% !important;
    overflow: hidden;
    border: 2px solid #505050;
    background: #505050;
    border-radius: 2px;
    position: relative;
}

.app-gallery .app-main-media .app-main-photo-wrap:after {
    -webkit-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

.app-gallery .app-main-media .app-main-photo-wrap:hover:after {
    background: #00000005;
    content: '';
    top: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
}

.app-gallery .app-main-media .app-main-photo-wrap img {
    display: none;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.app-gallery .app-main-media .app-main-video-wrap {
    width: 678px;
    height: 337px;
}

.app-gallery .app-main-media .app-main-video-wrap iframe {
    width: 100%;
    height: 100%;
}

.app-gallery .owl-carousel {
    padding: 5px 0 0 0;
    margin-top: 2px;
}

.app-gallery .owl-carousel .owl-stage {
    height: 85px;
    overflow: hidden;
}

.app-gallery .owl-carousel .app-owl-item {
    height: 71px;
}

.app-gallery .owl-carousel .app-owl-item,
.app-gallery .owl-carousel .app-owl-item-video {
    position: relative;
    border: 2px solid #505050;
    background: #505050;
    border-radius: 2px;
    -webkit-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;
    cursor: pointer;
}

.app-gallery .owl-carousel .app-owl-item-video {
    max-height: 71px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.app-gallery .owl-carousel .owl-item {
    min-height: 71px;
}

.app-gallery .owl-carousel .owl-item img {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.app-gallery .owl-carousel .app-owl-item-border.app-slide-active,
.app-gallery .owl-carousel .app-owl-item-border:hover {
    border-color: #00AE00;
    box-shadow: inset 0px 0px 11px 3px #00AE00;
}

.app-gallery .owl-carousel .app-owl-item-border.app-slide-active:after,
.app-gallery .owl-carousel .app-owl-item-border:hover:after {
    background: #00000012;
    content: '';
    top: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
}

.app-gallery .owl-carousel .owl-item .app-owl-item-video .ytp-video {
    cursor: pointer;
}

.app-gallery .owl-carousel .owl-item .app-owl-item-video svg path.ytp-button-path {
    -moz-transition: fill .1s cubic-bezier(0.4, 0.0, 1, 1), fill-opacity .1s cubic-bezier(0.4, 0.0, 1, 1);
    -webkit-transition: fill .1s cubic-bezier(0.4, 0.0, 1, 1), fill-opacity .1s cubic-bezier(0.4, 0.0, 1, 1);
    transition: fill .1s cubic-bezier(0.4, 0.0, 1, 1), fill-opacity .1s cubic-bezier(0.4, 0.0, 1, 1);
    fill-opacity: .8;
}

.app-gallery .owl-carousel .owl-item .app-owl-item-video:hover svg path.ytp-button-path {
    fill: #f00;
    fill-opacity: 1;
}

.app-gallery .owl-carousel .owl-item .app-owl-item-video .ytp-button {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
}

.app-gallery .owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot.active span {
    background: #469f1f;
}

.app-gallery .owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot span:hover {
    background: #469f1f;
}

.app-gallery .owl-nav .gallery-button-next {
    width: 23px;
    height: 23px;
    display: block;
    position: relative;
    left: 1px;
    background-image: url(/public/images/new_buttons.png);
    background-position: -1080px -591px;
    background-repeat: no-repeat;
    text-decoration: none;
}

.app-gallery .owl-nav .gallery-button-prev {
    width: 23px;
    height: 23px;
    display: block;
    position: relative;
    left: -1px;
    background-image: url(/public/images/new_buttons.png);
    background-position: -1054px -591px;
    background-repeat: no-repeat;
}

.app-gallery .owl-carousel .owl-nav {
    font-family: lg;
}

.app-gallery .owl-carousel .owl-nav button.owl-next:before {
    content: "\e095";
}

.app-gallery .owl-carousel .owl-nav button.owl-prev:after {
    content: "\e094";
}

.app-gallery .owl-carousel .owl-nav button.owl-prev,
.app-gallery .owl-carousel .owl-nav button.owl-next {
    position: absolute;
    display: block;
    top: 0px;
    height: 75px;
    background-color: rgba(0, 0, 0, 0.45);
    border-radius: 2px;
    color: #fff;
    cursor: pointer;
    font-size: 22px;
    border: none;
    outline: none;
    -webkit-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

.app-gallery .owl-theme .owl-nav [class*=owl-]:hover {
    background: rgba(0, 0, 0, 0.45);
    color: #58d024;
}

.app-gallery .owl-carousel .owl-nav button.owl-next {
    right: -4px;
}

.app-gallery .owl-carousel .owl-nav button.owl-prev {
    left: -4px;
}

.app-gallery .owl-carousel .owl-dots {
    padding: 7px 0 0 0;
}

div.lg-outer div.lg-thumb-item {
    border: 2px solid #505050;
    border-radius: 2px;
    -webkit-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

div.lg-outer div.lg-thumb-item.active,
div.lg-outer div.lg-thumb-item:hover {
    border-color: #00AE00;
    box-shadow: inset 0px 0px 11px 3px #00AE00;
    position: relative;
}

div.lg-outer div.lg-thumb-item.active:after,
div.lg-outer div.lg-thumb-item:hover:after {
    background: #00000012;
    content: '';
    top: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
}

body .lg-outer {
    z-index: 9999999999;
}

body .lg-backdrop {
    z-index: 9999999999;
}

body .lg-actions .lg-next:hover,
body .lg-actions .lg-prev:hover {
    color: #00AE00;
}

body .lg-toolbar .lg-icon:hover {
    color: #00AE00;
}

body .lg-outer .lg-toogle-thumb:hover {
    color: #00AE00;
}

body .lg-inner .lg-img-wrap .lg-object.lg-image,
body .lg-inner .lg-video iframe {
    border: 2px solid #505050;
    border-radius: 2px;
}

body .lg-thumb-outer .lg-thumb .lg-thumb-item.thumb-item-youtube {
    display: block;
    position: relative;
}

body .lg-thumb-outer .lg-thumb .lg-thumb-item.thumb-item-youtube button {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
}

body .lg-thumb-outer .lg-thumb .lg-thumb-item.thumb-item-youtube svg path.ytp-button-path {
    -moz-transition: fill .1s cubic-bezier(0.4, 0.0, 1, 1), fill-opacity .1s cubic-bezier(0.4, 0.0, 1, 1);
    -webkit-transition: fill .1s cubic-bezier(0.4, 0.0, 1, 1), fill-opacity .1s cubic-bezier(0.4, 0.0, 1, 1);
    transition: fill .1s cubic-bezier(0.4, 0.0, 1, 1), fill-opacity .1s cubic-bezier(0.4, 0.0, 1, 1);
    fill-opacity: .8;
}

body .lg-thumb-outer .lg-thumb .lg-thumb-item.thumb-item-youtube:hover svg path.ytp-button-path {
    fill: #f00;
    fill-opacity: 1;
}