#gallery2,#gallery2 * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-weight: 100;
}

#gallery2 a {
    color: #000;
    text-decoration: none
}

#gallery2 {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: none;
    z-index: 999999;
    min-width: 320px;
}

#gallery2__bg {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #1B1C1C
}

#gallery2__content-wrapper {
    position: relative;
    width: 100%;
    height: 100%
}

#gallery2__header_mobile {
    background: #000;
    color: #fff;
    font-size: 14px;
    position: relative;
    z-index: 10;
    font-family: Roboto,Arial,sans-serif!important;
    height: 36px;
    line-height: 36px;
    display: none;
    padding-left: 10px;
    width: 100%
}

#gallery2__header_mobile .gallery2__header__close {
    background-image: url(../images/button_icons/white/close.svg?v=1);
    margin-left: auto;
    background-size: 14px 14px!important;
    height: 36px;
    width: 35px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer
}

#gallery2__header_mobile .gallery2__header__img-count {
    margin-right: 10px;
    font-size: 12px;
    color: #767676;
    line-height: 36px;
    flex-shrink: 0;
}

#gallery2__header {
    background: #000;
    color: #fff;
    position: relative;
    z-index: 10;
    font-family: Roboto,Arial,sans-serif!important;
    font-size: 16px;
}

#gallery2__header .fa,#gallery2__header .fal {
    color: #f0f4f5
}

#gallery2__header a {
    color: #fff;
    text-decoration: none;
    font-family: Roboto,Arial,sans-serif!important
}

#gallery2__header .gallery2__header__icon-group span {
    display: inline-flex;
    margin-left: 3px;
    align-items: center;
    height: 40px;
    line-height: 40px;
    white-space: nowrap
}

#gallery2__header .fa {
    font-size: 20px;
}

#gallery2__header__inner {
    padding: 10px;
    display: flex;
}

#gallery2__header__left div {
    vertical-align: top
}

#gallery2__header__left {
    height: 40px;
}

#gallery2__header__logo {
    display: inline-block;
    height: 34px;
    padding: 3px 10px;
    opacity: .63;
    cursor: pointer
}

#gallery2__header__logo_full {
    height: 100%
}

#gallery2__header__logo_small {
    display: none;
    height: 100%
}

#gallery2__header .gallery2__header__img-count {
    margin-right: 10px;
    font-size: 12px;
    color: #767676;
    line-height: 40px;
    flex-shrink: 0;
}

#gallery2__header__right {
    float: right;
    margin-top: 0;
    height: 40px;
    display: flex;
}

#gallery2__header__right span {
    background-size: 20px 20px;
    background-position: center;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color .5s ease,color .5s ease;
    min-width: 40px;
}

#gallery2__header__right span:hover {
    background-color: #2b2a2a
}

#gallery2__close {
    background-image: url(../images/button_icons/white/close.svg?v=1);
    margin-left: 10px;
    background-size: 20px 20px!important
}

#gallery2__info {
    background-image: url(../images/button_icons/white/menu.svg?v=1);
    margin-left: 3px;
    background-size: 20px 20px !important;
    font-size: 0;
}

.gallery__sidebar-visible #gallery2__info,
#gallery2__info:hover {
    background-color: #1389fe!important
}

#gallery_select_middle {
    background-image: url(../images/button_icons/inputs/checkbox_rounded_grey_uncheched.svg);
}
#gallery_select_middle:hover {
    background-image: url(../images/button_icons/inputs/checkbox_rounded_white_uncheched.svg);
}
#gallery_select_middle.selected {
    background-image: url(../images/button_icons/inputs/checkbox_rounded_cheched.svg);
}

#gallery_comments_middle {
    background-image: url(../images/button_icons/grey/comment.svg?v=1);
}
#gallery_comments_middle:hover {
    background-image: url(../images/button_icons/white/comment.svg?v=1);
}

#gallery2__header__fullscreen {
    background-image: url(../images/button_icons/grey/fullscreen.svg?v=1);
    margin-left: 10px;
}
#gallery2__header__fullscreen:hover {
    background-image: url(../images/button_icons/white/fullscreen.svg?v=1);
}

#gallery2__header__zoom {
    background-image: url(../images/button_icons/grey/zoom.svg?v=1);
}
#gallery2__header__zoom:hover {
    background-image: url(../images/button_icons/white/zoom.svg?v=1);
}

#gallery2__header__view-original {
    background-image: url(../images/button_icons/grey/newtab.svg?v=1);
    margin-left: 10px;
}
#gallery2__header__view-original:hover {
    background-image: url(../images/button_icons/white/newtab.svg?v=1);
    margin-left: 10px;
}

#gallery_vote_middle {
    background-image: url(../images/button_icons/grey/like.svg?v=1);
}
#gallery_vote_middle:hover {
   background-image: url(../images/button_icons/white/like.svg?v=1); 
}
#gallery_vote_middle .vote_count {
    color: #A3A3A3;
}
#gallery_vote_middle:hover .vote_count {
    color: white;
}


#gallery2__header__mid {
    margin: 0;
    text-align: center;
    height: 40px;
    flex: 1;
}

#gallery2__header__mid_content {
    font-size: 0;
}

#gallery2__header__mid .seperator {
    display: none
}

#gallery2__header__mid .gallery2__header_middle_button {
    border-radius: 5px;
    margin: 0 4px;
    display: inline-flex;
    line-height: 18px;
    font-size: 14px;
    position: relative;
    height: 40px;
    cursor: pointer;
    vertical-align: middle;
    background-color: #2b2a2a;
    transition: background-color .5s ease,color .5s ease;
    align-items: center;
    background-size: 15px;
    background-position-x: 7px;
    background-position-y: center;
    background-repeat: no-repeat;
    padding: 0 10px 0 30px;
}

#gallery2__header__mid .gallery2__header_middle_button:hover {
    background-color: #1389fe
}

#gallery2__header__mid #gallery2__buyfile,
#gallery2__header__mid #gallery2__buy-products {
    background-image: url(/images/button_icons/white/sell.svg?v=1);
    background-color: #00b715
}

#gallery2__header__mid #gallery2__buyfile span.price:before {
    content: '(';  
}
#gallery2__header__mid #gallery2__buyfile span.price:after {
    content: ')';
}

#gallery2__header__mid #gallery2__buy-products {
    background-image: url(/images/button_icons/white/cupnew.svg?v=1);
    background-size: 14px;
}

#gallery2__header__mid #gallery2__buyfile:hover,#gallery2__header__mid #gallery2__buy-products:hover {
    background-color: #009611
}

#gallery2__header__mid #gallery2__order {
    background-image: url(../images/button_icons/white/print.svg?v=1);
}

#gallery2__header__mid #gallery2__share {
    background-image: url(../images/button_icons/white/share_hallow.svg);
    background-size: 14px;
}

#gallery2__header__mid #gallery2__edit {
    background-image: url(../images/button_icons/white/edit.svg?v=1);
}

#gallery2__header__mid #gallery2__sign {
    background-image: url(../images/button_icons/white/pen.svg?v=1);
    background-color: green
}

#gallery2__header__mid .x-split-button {
    background-color: #1389fe;
    border: none;
    height: 40px;
    line-height: 40px;
    display: inline-flex;
    align-items: center;
    padding-right: 0;
    border-radius: 5px;
    background-position-x: 8px!important;
    background-position-y: center!important;
    background-repeat: no-repeat!important;
    background-image: url(/images/button_icons/white/download2.svg?v=1);
    background-size: 13px;
    padding-left: 25px;
    margin: 0 4px;
}

#gallery2__header__mid .x-button {
    height: 32px;
    line-height: 32px;
    padding-right: 14px;
}

#gallery2__header__mid .x-split-button span {
    font-family: Roboto,Arial,sans-serif!important
}

#gallery2__header__mid .x-button.x-button-drop {
    background-color: #006dd6;
    height: 40px;
    border: 0;
    padding-left: 10px;
    width: 35px;
    border-top-right-radius: 5px!important;
    border-bottom-right-radius: 5px!important
}

#gallery2__header__mid .x-button.x-button-drop:before {
    background: transparent url(/images/gallery/dropdown.svg?v=1) no-repeat center center;
    background-size: 10px;
}

#gallery2__header__mid .x-button-drop-menu {
    top: 39px;
}

#gallery2__header__mid .x-button-drop-menu li {
    transition: .5s ease
}

#gallery2__header__mid .x-button-drop-menu li a {
    padding: 3px 10px;
    font-size: 14px;
}

@media only screen and (max-width: 1250px) {
    #gallery2__header__mid .x-split-button:not(.large) .x-button {
        font-size:0!important
    }

    #gallery2__header__mid .x-split-button {
        background-position-x: 12px!important
    }

    .x-split-button:not(.large) .x-button-short-text {
        font-size: 14px!important
    }
}

@media only screen and (max-width: 700px) {
    #gallery2__header__mid .x-split-button:not(.large) .x-button {
        padding:0;
    }

    #gallery2__header__mid .x-button.x-button-main .x-button-small-icon {
        display: none
    }

    #gallery2__header__mid .x-button-drop-menu {
        top: 39px;
        left: 0;
    }
}

@media only screen and (max-width: 360px) {
    #gallery2__header__mid .x-button-drop-menu {
        top:45px;
        width: 90%;
        left: 5%;
        position: fixed
    }
}

#gallery2__header__mid .gallery2__header_middle_button {
    background-size: 14px 14px;
    background-position: center;
    background-repeat: no-repeat;
    background-position-x: 9px;
}

#gallery2__save_p2p .gallery2__save_p2p_short_text,
#gallery2__save .gallery2__save_short_text {
    display: none
}

#gallery2__sidebar__info_embed_button .gallery2__sidebar__info_embed_short_text {
    display: none
}

#gallery2__sidebar__info_embed_button.hidden {
    display: none!important
}

#gallery2__save_p2p.hidden {
    display: none!important
}

#gallery2__save_p2p {
    background-image: url(../images/button_icons/white/download_thick.svg?v=1);
}

#gallery2__save {
    background-image: url(../images/button_icons/white/download_thick.svg?v=1);
}

#gallery2__header__left a,#gallery2__header__right a {
    display: inline-block
}

#gallery2__header__inner a .fa {
    position: relative;
    top: 2px;
    margin-right: 6px;
}

#gallery2__header__left a .fa,#gallery2__header__right a .fa {
    margin-right: 0;
}

#gallery2_file_info .header-owner {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    position: relative;
    min-height: 70px;
    width: 100%;
    flex-direction: row
}

#gallery2_file_info .header-owner_image {
    display: inline-block;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border-radius: 50%;
    height: 32px;
    width: 32px;
    background-size: cover;
    background-position: center center;
    margin-right: 10px;
    cursor: default
}

#gallery2_file_info .header-owner_title {
    color: #969696;
    text-transform: uppercase;
    font-size: 10px;
    line-height: 13px;
}

#gallery2_file_info .header-owner_name a {
    color: #fff;
    line-height: 24px;
}

#gallery2_file_info .header-owner_name span {
    width: unset;
    max-width: 110px;
    line-height: 19px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    display: block;
    text-overflow: ellipsis
}

#gallery2_file_info .header-owner_name img {
    display: none
}

#gallery2_item_info_bottom_section .header-owner {
    padding: 0 20px 10px;
    width: 100%
}

#gallery2_item_info_bottom_section .header-owner:after {
    width: 100%;
    left: 0;
}

#gallery2_item_info_bottom_section .header-owner_name a {
    color: #fff!important
}

#gallery2_file_details_table {
    font-size: 13px;
    border-radius: 3px;
    margin-bottom: 5px;
    margin-top: 5px;
    border-bottom: none;
    width: calc(100% - 40px);
    border-collapse: collapse;
}

#gallery2_file_details_table td {
    padding: 0;
    height: 25px;
    color: #969696;
    vertical-align: middle;
    font-size: 11px;
}

#gallery2_file_details_table tr td:last-child {
    text-align: end;
    color: #fff;
}

#gallery2_file_details_table a {
    color: white;
    text-decoration: underline;
}

#gallery2_file_details_table tr td.gallery2__sidebar__info-exif_tags-dropdown {
    display: flex;
    align-items: center;
    width: fit-content;
    cursor: pointer;
    color: #fff;
}

#gallery2_file_details_table tr td.gallery2__sidebar__info-exif_tags-dropdown .gallery2__sidebar__info-dropdown_icon {
    background-image: url(/images/button_icons/grey/arrow_down.svg?v=1);
    background-repeat: no-repeat;
    background-position: center;
    width: 11px;
    height: 11px;
    margin-left: 5px;
}

.gallery2__sidebar__exif_tags-top-separator {
    border-top: 1px solid #525252;
}

#gallery2_details_table tr td:nth-child(2) {
    padding-left: 6px;
}

#gallery2__content {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    text-align: center;
    z-index: 9
}

#gallery2__content__viewport {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    padding-top: 66px;
    white-space: nowrap;
    -webkit-transition: all .3s;
    transition: all .3s
}

#gallery2__content.gallery__thumbs-visible #gallery2__content__viewport {
    padding-bottom: 95px;
}

#gallery2__content.gallery__sidebar-visible #gallery2__content__viewport {
    padding-right: 360px;
}

#gallery2__swipe-wrapper {
    position: relative;
    max-height: 100%;
    height: 100%
}

.bx-wrapper:hover + #gallery2__controls_middle.image,
#gallery2__controls_middle.image:hover {
    display: inline-flex;
}

#gallery2 .bx-wrapper {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    background: 0 0;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none
}

#gallery2 .bx-viewport {
    height: 100%!important
}

#gallery2__image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    margin-left: auto
}

#gallery2__banner {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    height: 100%
}

.gallery2__vertical-helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle
}

.gallery2__item {
    max-height: 100%;
    height: 100%;
    vertical-align: middle;
    text-align: center
}

.gallery2__item .video_thumb_gen {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -150px;
    margin-top: -60px;
    font-size: 16px;
    color: #fff;
    background-color: #3b393b;
    border: 1px solid #3b393b;
    border-radius: 4px;
    padding: 20px;
}

.gallery2__item .video_thumb_gen .fa.fa-spin {
    font-size: 30px;
    line-height: 30px;
}

.bx-wrapper .gallery2__item img,.bx-wrapper .gallery2__item video {
    display: inline-block;
    max-height: 100%;
    vertical-align: middle;
    background-size: 100% 100%;
    margin-bottom: 20px;
}

.bx-wrapper .gallery2__item img.ext-icon {
    width: 200px;
}

.gallery2__item video {
    max-width: 100%
}

.gallery2__item__audio-wrapper {
    color: #fff;
    text-align: left;
    display: inline-block;
    vertical-align: middle;
    max-width: 100%
}

.gallery2__item .gallery2__item__img {
    cursor: pointer;
    max-height: 100%;
    height: auto;
    margin: auto 0 0;
}

.gallery2__item .print_or_buy_popup {
    position: absolute;
    box-shadow: 0 0 30px rgb(0 0 0/50%);
    padding: 30px;
    border-radius: 8px;
    overflow: visible;
    background: #fff;
    max-width: 90%;
    min-width: 500px;
    width: fit-content;
    left: 0;
    top: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    top: 50%;
    transform: translateY(-50%);
    white-space: pre-wrap;
    display: none
}

.gallery2__item .print_or_buy_popup_close {
    position: absolute;
    font-size: 0;
    border: 0;
    background: url(/images/popups/close-shadow.svg) center no-repeat;
    cursor: pointer;
    z-index: 1;
    background-size: contain;
    top: -30px;
    height: 27px;
    width: 27px;
    padding: 0;
    margin: 0;
    right: -6px;
}

.gallery2__item .print_or_buy_popup_desc {
    color: #1a2533;
    padding: 20px 0 40px;
    text-align: left;
    font-size: 16px;
    line-height: 21px;
    width: 100%;
    white-space: break-spaces
}

.gallery2__item .print_or_buy_popup_button {
    border-radius: 5px;
    margin: 0 4px;
    display: inline-block;
    line-height: 40px;
    font-size: 14px;
    position: relative;
    height: 40px;
    cursor: pointer;
    vertical-align: middle;
    background-color: #2b2a2a;
    transition: background-color .5s ease,color .5s ease;
    align-items: center;
    background-size: 15px;
    background-position-x: 7px;
    background-position-y: center;
    background-repeat: no-repeat;
    padding: 0 10px 0 30px;
    background-color: #00b715;
    margin-top: 10px;
}

.gallery2__item .print_or_buy_popup_button:hover {
    background-color: #009611
}

.gallery2__item .print_or_buy_popup_button a {
    color: #fff!important
}

.gallery2__item .print_or_buy_popup__buyfile {
    background-image: url(/images/button_icons/white/sell.svg?v=1);
}

.gallery2__item .print_or_buy_popup__products {
    background-image: url(/images/button_icons/white/cupnew.svg?v=1);
}

.gallery2__item__information-wrapper {
    display: grid;
    grid-template-columns: auto min-content;
    min-width: 280px;
    margin: auto;
    margin-top: 10px;
}

.gallery2__item__desc-wrapper {
    align-items: center;
    color: #c1c1c1;
    display: flex;
    font-family: univiaprolight,Arial,sans-serif;
    font-size: 16px;
    height: 70px;
    line-height: 17px;
    margin: auto;
    min-width: 280px;
    overflow: auto;
    text-align: justify;
    text-align: left;
    vertical-align: middle;
    white-space: pre-line;
    width: 100%;
    display: none!important
}

.gallery2__item__desc-wrapper-text {
    white-space: pre-line;
    overflow: auto;
    width: 100%;
    height: 100%;
    padding-right: 7px;
    position: relative;
    z-index: 1
}

.gallery2__item__doc-wrapper {
    color: #fff;
    text-align: left;
    padding: 20px 20px 100px;
    border-radius: 3px;
    display: inline-block;
    font-size: 12px;
    line-height: 25px;
    text-align: center;
    max-width: 100%;
    vertical-align: middle;
    font-family: Roboto,Arial,sans-serif
}

.gallery2__item__iframe-wrapper {
    color: #fff;
    font-size: 20px;
    line-height: 25px;
    max-width: 100%;
    vertical-align: middle;
    font-family: univiaprolight,Arial,sans-serif
}

.gallery2__item__doc-wrapper.has_custom_thumb {
    width: 100%;
    height: 100%;
    padding: 20px;
}

.gallery2__item__doc-wrapper.has_custom_thumb .gallery2__item__information-wrapper {
    display: none!important
}

.gallery2__item__doc-wrapper .fa-5x {
    margin-bottom: 10px;
    font-size: 200px;
    text-shadow: 6px 6px 2px #535a67
}

.gallery2__item__doc-icon {
    position: relative
}

.gallery2__item__custom_thumb {
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain
}

.gallery2__item__custom_thumb.has_price {
    cursor: pointer
}

.gallery2__item__doc-icon .gallery2__item__doc-icon-ext {
    display: none;
    position: absolute;
    top: -37px;
    left: 50px;
    font-size: 35px;
    font-weight: 700;
}

.gallery2__item__doc-icon.psd .gallery2__item__doc-icon-ext,.gallery2__item__doc-icon.ai .gallery2__item__doc-icon-ext,.gallery2__item__doc-icon.eps .gallery2__item__doc-icon-ext,.gallery2__item__doc-icon.gif .gallery2__item__doc-icon-ext,.gallery2__item__doc-icon.tif .gallery2__item__doc-icon-ext,.gallery2__item__doc-icon.tiff .gallery2__item__doc-icon-ext {
    display: inline
}

.gallery2__item__doc-wrapper p.gallery2__item__doc-filename,.gallery2__item__iframe-wrapper p.gallery2__item__doc-filename {
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    border: 1px solid #fff;
    border-radius: 5px;
    line-height: 40px;
    padding: 0 10px;
}

.gallery2__item__doc-wrapper p.gallery2__item__doc-nopreview {
    margin: 48px 0 24px;
    font-size: 16px;
    color: #fff
}

.gallery2__item__information-wrapper a {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    align-self: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    background-color: transparent;
    box-sizing: border-box;
    color: #fff!important;
    cursor: pointer;
    display: inline-block;
    font-family: univiaprolight,Arial,sans-serif;
    font-size: 0!important;
    grid-column-start: 2;
    height: 42px;
    justify-self: end;
    line-height: 30px!important;
    margin: 0;
    position: relative;
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
    width: fit-content;
    border: 1px solid #fff;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    transition: background-color .5s ease,color .5s ease
}

.gallery2__item__information-wrapper a:hover {
    background-color: #1389fe!important
}

.gallery2__item__information-wrapper a i {
    font-size: 16px;
    line-height: 30px;
}

.gallery2__item__doc-wrapper__download_button {
    margin-bottom: 10px;
}

.gallery2__item__doc-wrapper__download_button.gallery2__p2p_save_button,.gallery2__item__doc-wrapper__download_button.gallery2__save_button {
    background-image: url(../images/button_icons/white/download2.svg?v=1);
    padding: 0 20px;
    margin-left: -5px;
    background-color: #000;
}

.gallery2__item__doc-wrapper__download_button.gallery2__preview_button {
    background-image: url(../images/button_icons/white/eye.svg?v=1);
    background-size: 16px 16px;
    padding: 0 19px;
    background-repeat: no-repeat;
    margin-left: -5px;
    background-color: #000;
}

.gallery2__item__information-wrapper a.gallery2__buy_button {
    background-image: url(../images/button_icons/white/sell.svg?v=1);
    padding: 0 20px;
    margin-left: -5px;
    background-color: #000;
}

.gallery2__item__information-wrapper a.gallery2__buy_button:hover {
    background-color: #009611!important
}

.gallery2__video_downloadbutton.gallery2__buy_button {
    color: #fff!important;
    display: none;
    min-width: 180px;
    background: 0 0;
    padding: 12px 15px;
    font-size: 15px;
    border-radius: 60px;
    border: 1px solid #fff;
    cursor: pointer;
    font-family: univiaprolight,Arial,sans-serif;
    padding-left: 32px;
    background-position: 12px center;
    background-size: 16px 16px;
    background-repeat: no-repeat;
    background-color: #008ddf;
    background-position: 20px 8px;
    border: none;
    border-radius: 20px;
    box-shadow: 0 2px 3px rgba(0,0,0,.1);
    margin: 20px 0;
    max-width: 100%;
    overflow: hidden
}

.gallery2__item__doc-wrapper a .fa {
    margin-right: 10px;
    font-size: 20px;
    vertical-align: middle
}

.gallery2__item__iframe-wrapper {
    width: 100%;
    height: 100%
}

.gallery2__item__iframe-loading {
    color: #fff;
    font-size: 70px;
    font-size: 7vh;
    position: absolute;
    width: 100%;
    height: 100%
}

.gallery2__item__iframe-loading__wrapper {
    display: inline-block
}

.gallery2__item__iframe-loading__icon {
}

.gallery2__item__iframe-loading__text {
    display: block;
    font-size: 16px;
    padding: 10px;
    box-sizing: border-box;
    white-space: normal
}

.gallery2__item__iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 9
}

.gallery2__item__iframe-wrapper iframe.modal_gallery_simple_iframe {
    width: calc( 100% - 200px);
}

.gallery2__item__msg_has_no_preview {
    font-size: 20px;
    line-height: 24px;
    color: #fff;
    font-family: univiaprolight;
    padding: 0 20px;
    white-space: normal
}

.gallery2__item__msg_has_no_preview div {
    display: inline-block
}
#gallery2__controls_middle {
    position: relative;
    bottom: 76px;
    height: 40px;
    display: none;
    gap: 5px;
}
#gallery2__controls_middle .gallery2__controls_middle {
    width: fit-content;
    background: #000000d1;
    border-radius: 5px;
}

#gallery2__controls_middle .gallery2__controls_middle div {
    background-size: 20px 20px;
    background-position: center;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color .5s ease,color .5s ease;
    min-width: 40px;
    display: inline-block;
    margin: 0;
}

#gallery2__controls_middle .gallery2__controls_middle div:hover {
    background-color: #dbdbdb38
}

#gallery2__controls_left,#gallery2__controls_right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15px;
}

#gallery2__controls_left {
    left: 0;
}

#gallery2__controls_right {
    right: 0;
}

#gallery2__controls_left a,#gallery2__controls_right a {
    position: absolute;
    display: block;
    width: 38px;
    height: 38px;
    top: 50%;
    margin-top: -30px;
    text-align: center;
    font-size: 60px;
    z-index: 10;
    background-size: auto;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 3px;
    transition: background-color .5s ease;
    left: 10px;
}

#gallery2__controls_right a {
    left: unset;
    right: 10px;
}

#gallery2__controls_left a:hover,#gallery2__controls_right a:hover {
    background-color: #676767
}

#gallery2__controls_left a {
    background-image: url(../images/gallery/gallery_backward.svg);
}

#gallery2__controls_right a {
    background-image: url(../images/gallery/gallery_forward.svg);
}

#gallery2__controls_left a,#gallery2__controls_left a .fa,#gallery2__controls_right a,#gallery2__controls_right a .fa {
    line-height: 60px;
}

#gallery2__controls__prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

#gallery2__controls__next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

#gallery2__thumb-strip {
    position: absolute;
    width: 100%;
    height: 75px;
    -webkit-transition: all .3s;
    transition: all .3s;
    z-index: 10;
    overflow: hidden;
    background: #000;
    margin-top: 10px;
}

#gallery2__thumb-strip__inner {
    position: relative;
    margin: 0 auto;
    display: flex;
    min-width: 100%;
    justify-content: center;
    width: fit-content !important;
    transition: 0.5s;
}
#gallery2__thumb-strip__inner .thumb-wrapper {
    height: 100%;
    width: 100%;
    overflow: hidden;
}
#gallery2__thumb-strip__inner a {
    margin: 2px 1px;
    width: auto;
    height: 73px;
    min-width: 108px;
    min-height: 73px;
    display: block;
    float: left;
    position: relative;
    text-align: center;
    background-color: #000;
    border: 2px solid transparent;
    overflow: visible;
}

#gallery2__thumb-strip__inner a div.checkbox {
    display: none;
}

#gallery2__thumb-strip__inner a.selected div.checkbox {
    position: absolute;
    width: 22px;
    height: 22px;
    background: url(../images/button_icons/inputs/checkbox_cheched_small_thumbstrip.svg) no-repeat left center transparent;
    background-size: 22px;
    left: -4px;
    top: -4px;
    display: block;
}
#gallery2__thumb-strip__inner a.selected.active div.checkbox {
    background: url(../images/button_icons/inputs/checkbox_cheched_small_thumbstrip_selected.svg) no-repeat left center transparent;
}

#gallery2__thumb-strip__inner a:hover {
}

#gallery2__thumb-strip__inner a.active {
    border: 2px solid #fff
}

#gallery2__thumb-strip__inner a.doc-icon {
    background: #999;
    color: #767676;
    font-size: 46px;
    text-align: center
}

#gallery2__thumb-strip__inner a.doc-icon,#gallery2__thumb-strip__inner a.doc-icon .fa,#gallery2__thumb-strip__inner a.doc-icon .fal {
    line-height: 93px;
}

#gallery2__thumb-strip__inner a.video-icon:before {
    content: '\f04b';
    font-family: fontawesome;
    font-size: 24px;
    color: #fff;
    text-align: center;
    line-height: 93px;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: .8;
    z-index: 1
}

#gallery2__thumb-strip__inner a img {
    position: relative;
    height: 73px;
    width: auto
}

#gallery2__thumb-strip__buttons,#gallery2__thumb-strip__hide_container {
    position: relative
}

#gallery2__thumb-strip__hide_container {
    display: none!important
}

#gallery2__thumb-strip__buttons a,#gallery2__thumb-strip__hide_container a {
    position: absolute;
    display: block;
    text-align: center;
    color: #fff;
    font-size: 24px;
}

#gallery2__thumb-strip__hide_container a {
    top: -10px;
}

#gallery2__thumb-strip__prev,#gallery2__thumb-strip__next {
    width: 21px;
    height: 21px;
    top: 30px;
    background-size: 21px!important;
    z-index: 10;
    background-repeat: no-repeat
}

#gallery2__thumb-strip__prev {
    left: 8px;
    background-image: url(../images/gallery/gallery_backward.svg);
}

#gallery2__thumb-strip__next {
    right: 8px;
    background-image: url(../images/gallery/gallery_forward.svg);
}

#gallery2__thumb-strip__hide {
    width: 40px;
    height: 20px;
    left: 50%;
    top: -20px;
    margin-left: -20px;
    background-image: url(../images/gallery/rect_arrow_down.svg?v=9);
    background-repeat: no-repeat;
    background-position: center
}

#gallery2__thumb-strip__hide,#gallery2__thumb-strip__hide .fa {
    line-height: 20px;
}

#gallery2__content:not(.gallery__thumbs-visible) #gallery2__thumb-strip__hide {
    top: -20px;
}

#gallery2__content__sidebar {
    position: absolute;
    width: 360px;
    height: 100%;
    right: -360px;
    top: 0;
    background: #2c2c2c;
    -webkit-transition: all .3s;
    transition: all .3s;
    padding-top: 62px;
    text-align: left;
    color: #fff;
    font-size: 14px;
    z-index: 11
}

#gallery2__content__sidebar__inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow-y: auto
}

#gallery2__content__sidebar__inner.gallery2__content__sidebar__inner__flex {
    display: flex;
    flex-flow: column;
    height: 100%;
    overflow: auto
}

#gallery2__content.gallery__sidebar-visible #gallery2__content__sidebar {
    right: 0;
}

#gallery2__sidebar-close {
    display: inline-block;
    height: 40px;
    line-height: 30px;
    top: 0;
    right: 0;
    cursor: pointer;
    float: right;
    color: #fff;
    text-align: center;
    width: 40px;
    position: absolute;
    background-repeat: no-repeat!important;
    background-position-y: center!important;
    background-position-x: center!important;
    background-image: url(/images/button_icons/grey/collapse.svg?v=1);
}

#gallery2__sidebar__info {
    flex: 0 1 auto
}

#gallery2__sidebar__banner {
    margin: 0 auto
}

#file-info {
    line-height: 40px;
    text-transform: uppercase;
    font-weight: 700;
    color: #969696;
    border-bottom: 1px solid #525252;
    padding: 0 20px;
    display: none;
}

#gallery2_file_info {
    max-width: 400px;
}

#gallery2_file_info.gallery2_item_info_padded {
    padding-left: 8px;
    padding-right: 8px;
}

#gallery2_info_head .info_head {
    display: inline-flex;
    align-items: center;
    width: 100%
}

#gallery2_info_head .thumbnail-wrapper {
    display: inline-block;
    max-width: 45px;
    min-width: 30px;
    height: 30px;
    margin-right: 5px;
    position: relative
}

#gallery2_info_head .thumbnail-wrapper.one-action {
    margin-right: 15px;
}

#gallery2_info_head .thumbnail-wrapper.two-actions {
    margin-right: 35px;
}

#gallery2_info_head .thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

#gallery2_info_head .thumbnail-actions {
    display: inline-flex;
    padding: 3px;
    border-radius: 13px;
    background-color: #505050;
    position: absolute;
    top: -16px;
    left: calc(100% - 15px);
}

#gallery2_info_head .thumbnail-actions.text {
    top: calc(50% - 13px);
    left: calc(100% - 25px);
}

#gallery2_info_head .thumbnail-actions a {
    text-decoration: none
}

#gallery2_info_head .thumbnail-actions-edit,#gallery2_info_head .thumbnail-actions-delete {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat!important;
    background-position-y: center!important;
    background-position-x: center!important
}

#gallery2_info_head .thumbnail-actions-edit {
    background-image: url(/images/button_icons/white/edit.svg?v=1);
}

#gallery2_info_head .thumbnail-actions-edit:hover {
    background-image: url(/images/button_icons/blue/edit.svg?v=1);
}

#gallery2_info_head .thumbnail-actions-delete {
    background-image: url(/images/button_icons/white/delete.svg?v=1);
}

#gallery2_info_head .thumbnail-actions-delete:hover {
    background-image: url(/images/button_icons/red/delete.svg?v=1);
}

#gallery2_item_info_bottom_section {
    margin-top: 40px;
}

#file_description_value {
    word-break: break-all;
    line-height: 12px;
    font-size: 12px;
}

#file_description_edit_wrapper {
    display: inline-block;
    width: 100%
}

#file_description_edit_wrapper textarea {
    border-color: transparent;
    border-radius: 5px;
    background: 0 0;
    color: #fff;
    resize: none;
    margin-top: 0!important;
    display: block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
    padding: 5px 26px 5px 0;
    font-family: roboto,Arial,sans-serif!important;
    font-size: 13px;
    min-height: 32px;
}

#file_description_edit_wrapper textarea::placeholder {
    font-family: roboto,Arial,sans-serif!important;
    color: #8e8e8e
}

#file_description_edit_wrapper textarea:focus {
    border: 1px solid #d2d2d2
}

.editable_field_save_button {
    margin-top: 10px;
    margin-bottom: 5px;
    height: 26px;
    background: #deedff;
    color: #1389fe;
    font-size: 10px;
    padding: 0 10px;
    border-radius: 13px;
    cursor: pointer;
    display: none;
    align-items: center;
    width: fit-content;
    margin-left: auto
}

#file_name_edit_wrapper textarea:focus+.editable_field_save_button,#file_description_edit_wrapper textarea:focus+.editable_field_save_button {
    display: inline-flex;
}

#file_name_edit_wrapper textarea:focus+.editable_field_save_button+.edit_wrapper_edit_button,#file_description_edit_wrapper textarea:focus+.editable_field_save_button+.edit_wrapper_edit_button {
    display: none!important
}

#file_description_edit_wrapper:hover textarea {
    border: 1px solid #d2d2d2
}

#file_description_edit_wrapper .error_msg {
    position: absolute;
    top: 100%;
    font-size: 10px;
    line-height: 10px;
    background: #f2dede;
    padding: 2px;
    color: #c3130f;
    display: none
}

#file_description_edit_wrapper.has_error .error_msg {
    display: inline-block
}

#file_description_edit_wrapper .gallery2__sidebar__file_description_value {
    overflow-y: auto;
    display: inline-block;
    max-height: 96px;
    width: 100%;
    margin-top: 10px!important;
    padding-left: 3px;
    color: #969696
}

span.gallery2__sidebar__file_description_value {
    border-color: #fff;
    background: 0 0;
    resize: none;
    margin-top: 0!important;
    display: block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
    padding: 0;
    padding-right: 15px;
    font-family: Roboto Arial,sans-serif!important;
    font-size: 13px;
    line-height: normal;
    overflow-y: auto;
    display: inline-block;
    max-height: 150px;
    margin-top: 10px!important;
    color: #969696
}

#file_description_edit_wrapper.no-description {
    position: relative;
    text-align: right
}

#file_description_edit_wrapper.no-description:hover textarea {
    border: 1px solid #d2d2d2
}

#file_name_value {
    word-break: break-all;
    line-height: 12px;
    font-size: 12px;
}

#file_name_edit_wrapper {
    display: inline-block;
    width: 100%;
    color: #fff
}

#file_name_edit_wrapper .fa-file {
    position: relative;
    top: 1px;
}

#file_name_edit_wrapper textarea {
    border-color: transparent;
    border-radius: 5px;
    margin-top: 0!important;
    background: 0 0;
    color: #fff;
    resize: none;
    display: inline-block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
    padding: 5px 26px 5px 5px;
    font-size: 14px;
    font-family: roboto,Arial,sans-serif!important;
    min-height: 32px;
    line-height: 20px;
    max-height: 165px;
    overflow-y: auto;
    font-weight: 700;
}

.has_error textarea {
    border-color: #c96f6f!important
}

#file_name_edit_wrapper textarea::placeholder {
    font-family: roboto,Arial,sans-serif!important
}

#file_name_edit_wrapper:hover textarea {
    border-color: #d2d2d2
}

.edit_wrapper_edit_button {
    height: 26px;
    width: 26px;
    padding: 3px;
    border-radius: 13px;
    background-color: #505050;
    cursor: pointer;
    position: absolute;
    top: calc(50% - 13px);
    right: 0;
    display: none!important
}

#file_name_edit_wrapper:hover .edit_wrapper_edit_button,#file_description_edit_wrapper:hover .edit_wrapper_edit_button {
    display: inline-flex!important
}

.edit_wrapper_edit_button_icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat!important;
    background-position-y: center!important;
    background-position-x: center!important
}

.edit_wrapper_edit_button_icon {
    background-image: url(/images/button_icons/white/edit.svg?v=1);
}

.edit_wrapper_edit_button_icon:hover {
    background-image: url(/images/button_icons/blue/edit.svg?v=1);
}

#gallery2__sidebar__info-name .edit_wrapper_edit_button_icon {
    bottom: 18px;
}

#file_name_edit_wrapper .error_msg {
    font-size: 10px;
    line-height: 10px;
    background: #f2dede;
    padding: 2px;
    color: #c3130f;
    display: none;
    margin-bottom: 5px!important
}

#file_name_edit_wrapper.has_error .error_msg {
    display: block
}

#gallery2__content__sidebar__inner::-webkit-scrollbar,#file_name_edit_wrapper textarea::-webkit-scrollbar,#file_description_edit_wrapper textarea::-webkit-scrollbar,span.gallery2__sidebar__file_description_value::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

#gallery2__content__sidebar__inner::-webkit-scrollbar-thumb,#file_name_edit_wrapper textarea::-webkit-scrollbar-thumb,#file_description_edit_wrapper textarea::-webkit-scrollbar-thumb,span.gallery2__sidebar__file_description_value::-webkit-scrollbar-thumb {
    background: rgb(83 83 83);
    border-radius: 10px;
    box-shadow: rgba(255,255,255,.3) 0 0 0 1px;
}

#gallery2__content__sidebar__inner:hover::-webkit-scrollbar-thumb,#file_name_edit_wrapper textarea:hover::-webkit-scrollbar-thumb,#file_description_edit_wrapper textarea:hover::-webkit-scrollbar-thumb,span.gallery2__sidebar__file_description_value:hover::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.3);
}

#gallery2__content.gallery__sidebar-visible #gallery2__thumb-strip {
    width: calc( 100% - 360px )!important
}

#gallery2__content.gallery__sidebar__info-visible #gallery2__sidebar__info {
    display: block;
    margin-bottom: auto
}

#gallery2__content.gallery__sidebar__info-visible.gallery__sidebar__comments-visible #gallery2__content__sidebar__inner {
    display: none
}

#gallery2__content.gallery__sidebar__info-visible.gallery__sidebar__comments-visible #gallery2__comments {
    display: flex;
}

#gallery2__content__sidebar .gallery2__sidebar__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    align-self: flex-start
}

#gallery2__content__sidebar ul li {
    line-height: 1.5em;
    margin-bottom: 7px;
}

#gallery2__content__sidebar .fa-li {
    font-size: 16px;
}

#gallery2__content__sidebar .gallery2__sidebar__dropdown {
    color: #ca1913;
    border: none;
    text-align: right;
    border: 0;
    outline: 0;
    float: right;
    margin-top: 10px;
    font-size: 14px;
    background: 0 0;
}

#gallery2__sidebar__info-data {
    margin-left: 25px;
}

#gallery2__comments_button,#gallery2__report_button {
    border-top: 1px solid #525252;
    line-height: 40px;
    cursor: pointer;
    padding: 0 20px;
}

#gallery2__comments_button img,#gallery2__report_button img {
    margin-right: 15px;
    width: 12px;
}

#gallery2__report_button {
    color: #c2c2c2
}

#gallery2__report_button span {
    display: none
}

#gallery2__report_button.has_reported .reported {
    display: inline
}

#gallery2__report_button:not(.has_reported) .not-reported {
    display: inline
}

#gallery2__comments_button_close {
    padding: 5px;
}

#gallery2__comments_button_close i {
    width: 28px;
    text-align: center;
    line-height: 30px;
    vertical-align: middle;
    font-family: 'font awesome 5 pro';
    width: 28px;
    height: 28px;
    border-radius: 5px;
    transition: .5s ease
}

#gallery2__comments_button_close:hover i {
    background-image: none;
    background-color: #deedff;
    color: #1389fe
}

#chatfm-app-wrapper {
    position: relative;
    height: 100%
}

.gallery2__comments {
    display: flex;
    position: relative;
    width: 100%;
    min-width: 100%;
    height: 100%;
    padding: 2px 0 20px;
    flex-direction: column;
    flex: 1 1 auto;
    background: #f0f2f2;
    overflow: hidden
}

#gallery_file_tags_container .tagsinput {
    overflow-y: auto;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

#gallery_file_tags_container .tagsinput .tag {
    border: 1px solid #505050;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    display: flex;
    float: left;
    padding: 0 10px;
    text-decoration: none;
    background: #505050;
    color: #fff;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 12px;
    height: 26px;
    line-height: 26px;
    cursor: default;
    align-items: center;
    transition: background-color .5s ease,color .5s ease;
}

#gallery_file_tags_container .tagsinput .tag a {
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    font-size: 0;
    margin-left: 5px;
    display: inline-block;
    background-image: url(../images/button_icons/grey/close.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    height: 8px;
    width: 8px;
    line-height: 8px;
}

#gallery_file_tags_container .tagsinput.searchable .tag{
   cursor: pointer;
}
#gallery_file_tags_container .tagsinput.searchable .tag:hover{
   background-color: #deedff;
   color: #1389fe;
}
#gallery_file_tags_container .tagsinput.searchable .tag:hover  a{
   background-image: url(../images/button_icons/blue/close.svg);
}

#gallery_file_tags_container .tagsinput input {
    width: 80px;
    margin: 0;
    font-size: 13px;
    border: 0;
    background: 0 0;
    color: #fff!important;
    outline: 0;
}

#gallery_file_tags_container .tagsinput div {
    display: block;
    float: left
}

#gallery_file_tags_container .tags_clear {
    clear: both;
    width: 100%;
    height: 0;
}

#gallery_file_tags_container .not_valid {
    background: #fbd8db!important;
    color: #90111a!important
}

#gallery_file_tags_container .tagsinput div .fa {
    font-size: 13px;
    color: ;
    cursor: pointer
}

#gallery_file_tags_container .remove_tag {
    display: none!important
}

#gallery_file_tags_container.allow_edit .remove_tag {
    display: inline-block!important
}

#gallery_file_tags_container .add_tag_button {
    display: block;
    margin-top: 3px;
    position: relative;
    width: 100%;
}

#gallery_file_tags_container .add_tag_button.interactive:before {
    content: "";
    height: 15px;
    width: 15px;
    background-size: contain;
    background-position: center;
    position: absolute;
    background-repeat: no-repeat;
    left: 0;
    top: 13px;
    z-index: 999999999;
    color: #fff;
    background-image: url(../images/button_icons/white/plus-circle.svg?v=1);
    display: block;
}

#gallery_file_tags_container .add_tag_button input {
    width: 100% !important;
    margin: 10px 0;
    font-family: roboto,Arial,sans-serif!important;
    padding-left: 20px;
    position: relative;
}

#gallery_file_tags_container .add_tag_button input::placeholder {
    color: #fff
}
#gallery_file_tags_container .add_tag_button input:hover::placeholder {
    color: #1389fe;
}

#gallery_file_tags_container .file_tags_error {
    position: absolute;
    top: 100%;
    font-size: 10px;
    line-height: 10px;
    background: #f2dede;
    padding: 2px;
    color: #c3130f;
    display: none
}

.gallery_vote.has_voted i {
    color: #c3130f
}

#gallery2__header .gallery2__header__icon-group span#gallery2__header__setprice {
}

#gallery2__header .gallery2__header__icon-group span#gallery2__header__setprice i {
    border-radius: 5px;
    margin: 0 10px 0 0;
    line-height: 40px;
    font-size: 14px;
    position: relative;
    height: 40px;
    cursor: pointer;
    vertical-align: middle;
    background-color: #2b2a2a;
    transition: background-color .5s ease,color .5s ease;
    width: 40px;
    text-align: center
}

#gallery2__header .gallery2__header__icon-group span#gallery2__header__setprice i:hover {
    background-color: #00b715
}

#gallery2__share {
    display: none
}

.gallery2__video_container {
    display: inline-block;
    vertical-align: middle;
    overflow: hidden;
    padding: 20px 0;
    width: 100%;
    max-height: 100%;
    height: 100%;
    background: #000;
}

.gallery2__video_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    flex-direction: column;
    width: 100%;
    margin: auto
}

.gallery2__video_wrapper.mobile-wrapper {
    align-items: flex-start
}

.gallery2__video_wrapper .vjs-ffm {
    max-width: 100%;
    width: 100%!important;
    height: 100%!important
}

.gallery2__video_container__embed_palyer {
    max-height: 100%;
    width: 100%;
    height: auto
}

.filesfm__embed_player__container {
    margin: 0 auto;
    display: inline-block;
    min-width: 80%
}

.gallery2__video_previewtext {
    color: #fff;
    font-size: 12px;
    margin-top: 12px;
    overflow: hidden;
    white-space: break-spaces
}

.gallery2__video_wrapper_bottom {
    max-width: 100%;
    width: 100%
}

.gallery2__video_filename-download {
    margin-top: 10px;
}

.gallery2__video_filename {
    color: #fff;
    font-size: 16px;
    overflow: hidden;
    display: inline-block;
    margin-right: 10px;
    font-family: univiaprolight,Arial,sans-serif;
    white-space: normal;
    line-height: 20px;
}

.gallery2__video_downloadbutton {
    display: inline-block;
    border-radius: 15px;
    cursor: pointer;
    background: rgba(255,255,255,.2);
    padding: 7px;
}

.gallery2__video_downloadbutton img {
    height: 15px;
}

.ffm_video_fallback:not(.vjs-playing) .vjs-title-bar {
    opacity: 1
}

.ffm_video_fallback .vjs-control-bar {
    opacity: 1;
    display: flex;
}

.ffm_video_fallback:not(.vjs-has-started) .vjs-control-bar * {
    visibility: hidden
}

.ffm_video_fallback .vjs-loading-spinner .vjs-control-text {
    clip: unset;
    height: auto;
    width: auto;
    bottom: -35px;
    font-size: 14px;
    line-height: 16px;
    white-space: break-spaces;
    min-width: 400px;
    left: -200px;
    text-align: center
}

.ffm_video_fallback.vjs-layout-tiny .vjs-loading-spinner .vjs-control-text,.ffm_video_fallback.vjs-layout-small .vjs-loading-spinner .vjs-control-text {
    min-width: 200px;
    left: -80px;
    font-size: 12px;
}

#gallery2 .jp-audio,#gallery2 .jp-audio-stream,#gallery2 .jp-video {
    display: inline-block;
    border: none!important;
    margin: auto
}

.gallery2__load-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 70px;
    color: #fff;
    margin-left: -35px;
    margin-top: -35px;
}

.comments_letter_avatar {
    text-transform: uppercase;
    width: 100%;
    height: 45px;
    border: 1px solid #ababab;
    color: #ababab;
    text-align: center;
    font-size: 30px;
    line-height: 45px;
}

#gallery2.is_upload_owner #gallery2__sidebar__info-description #file_description_edit_wrapper {
    display: flex;
    position: relative;
    flex-direction: column
}

#gallery2 #gallery2__sidebar__info-description #file_description_value {
    display: block
}

#gallery2.is_upload_owner #gallery2__sidebar__info-description #file_description_value {
    display: none
}

#gallery2.is_upload_owner #gallery2__sidebar__info-name #file_name_edit_wrapper {
    display: flex;
    position: relative;
    flex-direction: column
}

#gallery2 #gallery2__sidebar__info-name #file_name_value {
    display: block
}

#gallery2.is_upload_owner #gallery2__sidebar__info-name #file_name_value {
    display: none
}

#gallery2__sidebar__info-name,#gallery2__sidebar__info-price,#gallery2__sidebar__info-buy-products,#gallery2__sidebar__info-size,#gallery2__sidebar__info-date,#gallery2__sidebar__info-moddate,#gallery2__sidebar__info-ValidTODate,#gallery2__sidebar__info-user,#gallery2__sidebar__info-views,#gallery2__sidebar__info-downloads,#gallery2__sidebar__info-description,#gallery2__sidebar__info-tags {
    min-height: 21px;
}


#gallery2_item_info_share-wrapper {
    border-bottom: 1px solid #525252;
    padding: 0 0 20px;
    margin: 0 20px;
}

#gallery_upload-access-switch {
    padding: 15px 0 0;
}

#gallery_upload-access-switch label {
    color: #969696;
    width: 100px;
    bottom: 10px;
}

#gallery_upload-access-switch .styled-select {
    width: calc(100% - 100px );
}

#gallery_upload-access-switch .select-selected {
    font-size: 12px;
    border: 1px solid #525252!important;
    background: 0 0;
    color: #fff;
    height: 30px;
    width: 100%;
    background-repeat: no-repeat;
    background-position-x: calc(100% - 10px);
    background-position-y: calc(50% + 1px);
    background-image: url(/images/gallery/dropdown.svg);
    line-height: 30px;
}

#gallery_upload-access-switch .select-selected.select-arrow-active {
    background-image: url(/images/gallery/dropdown-focus.svg);
}

#gallery2_item_info_bottom_section #gallery2_item_info_share {
    position: relative;
    height: 40px;
    width: 100%;
    margin: 20px 0 0;
}

#gallery2_item_info_bottom_section #item_info_share .gallery2_input-container {
    width: calc( 100% - 16px );
    margin-left: 8px;
    position: absolute;
    display: block;
    left: 0;
    right: 60px;
}

#gallery2_item_info_share .gallery2_input-container .gallery2_share-input {
    display: inline-block;
    height: 40px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    position: relative;
    min-width: 42px;
}

#gallery2_item_info_bottom_section #gallery2_item_info_share .gallery2_input-container input {
    line-height: 40px;
    background: #505050;
    color: #fff!important;
    font-size: 12px;
    text-decoration: none;
    cursor: pointer;
    vertical-align: middle;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-top: 0!important;
    border: none;
    border-radius: 5px;
    font-size: 13px;
    height: auto;
    width: 100%;
    padding: 0 10px;
}

#gallery2_item_info_bottom_section #gallery2_item_info_share .gallery2_share-button-after-input {
    display: inline-flex;
    cursor: pointer;
    box-sizing: border-box;
    background: #1389fe;
    height: 40px;
    font-weight: 700;
    line-height: 40px;
    margin: 0;
    padding: 0 15px;
    text-align: center;
    border: 0;
    border-radius: 0;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    align-items: center;
    transition: background-color .5s ease,color .5s ease;
    background-position-x: 10px!important;
    background-position-y: center!important;
    background-repeat: no-repeat!important;
    right: 0;
    top: 0;
    position: absolute
}

#gallery2__sidebar__info-size:before {
    background-image: url(../images/gallery/pie_chart.svg);
    width: 18px!important
}

#gallery2__sidebar__info-date:before {
    background-image: url(../images/gallery/calendar.svg);
    background-size: 18px 16px!important
}

#gallery2__sidebar__info-user:before {
    background-image: url(../images/gallery/user.svg);
}

#gallery2__sidebar__info-user #gallery2__sidebar__info-user-link {
    color: #61a9cf;
    text-decoration: none;
    display: inline-block;
    width: 100%
}

#gallery2__sidebar__info-user #gallery2__sidebar__info-user-link a {
    display: inline-block;
    width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    text-decoration: underline;
    font-size: 16px;
}

#gallery2__sidebar__info-views:before {
    background-image: url(../images/gallery/eye.svg);
    background-size: 18px 20px!important
}

#gallery2__sidebar__info-downloads:before {
    background-image: url(../images/gallery/download2.svg);
}

#gallery2__sidebar__info-description:before {
    background-image: url(../images/gallery/description.svg?v=1);
    background-size: 14px 14px!important
}

#gallery2__sidebar__info-tags:before {
    margin-top: 3px;
    background-image: url(../images/gallery/tag.svg?v=1);
}

#gallery2__sidebar__info-description {
    color: #4b5f6a;
    font-size: 14px;
    line-height: 18px;
}

#gallery2__sidebar__info-tags {
    color: #b1b4bc
}

#gallery2__header,#gallery2__sidebar__info-data {
    font-family: Roboto,Arial,sans-serif!important
}

#gallery2__sidebar__info-data {
    color: #fff;
    margin-left: 19px;
}

#gallery2__sidebar__info-name,#gallery2__sidebar__info-name-uneditable {
    font-size: 14px;
    color: #fff;
    flex: 1;
    min-width: 0;
    line-height: 16px;
}

#gallery2__sidebar__info-name-uneditable span {
    max-height: 160px;
    overflow-y: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    padding: 0;
    font-weight: 700;
}

#gallery2__sidebar__info-name div {
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: keep-all
}

#gallery2__sidebar__info-report {
    color: #61a9cf;
    position: relative;
    left: -26px;
    font-size: 18px;
}

#gallery2__sidebar__info-report i {
    cursor: pointer
}

#gallery2__header__logo.failiem_lv {
    width: 210px;
}

#gallery2__header__logo.files_fm {
    width: 212px;
}

#gallery2__header__logo:after {
    font-family: filesfm,serif;
    font-size: 30px;
    position: absolute
}

#gallery2__header__logo.files_fm:after {
    content: "\F2B4\20\F2CB"
}

#gallery2__header__logo.failiem_lv:after {
    content: "\F2B4\20\F2CA"
}

#gallery2__header__info {
    background-image: url(../images/button_icons/white/info.svg?v=1);
    position: absolute;
    left: 0;
    height: 48px;
    width: 48px;
    top: 70px;
    z-index: 999;
    margin-top: -5px!important;
    cursor: pointer
}

#gallery2.gallery__sidebar-visible #gallery2__header__info {
    display: none!important
}

#gallery2__header__view-original-small {
    background-image: url(../images/button_icons/white/full.svg?v=1);
    position: absolute;
    right: 8px;
    height: 22px;
    width: 22px;
    top: 70px;
    z-index: 999;
    cursor: pointer;
    display: none!important
}

#gallery2.gallery__sidebar-visible #gallery2__header__view-original-small {
    display: none!important
}

.gallery2__header__file_name_value {
    height: 100%;
    width: -webkit-fill-available;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.gallery_vote {
    background-image: url(../images/button_icons/white/like.svg?v=1);
    background-size: 14px!important;
    width: unset!important;
    height: 40px!important;
    background-position-x: 5px!important
}

#gallery_vote_header {
    background-size: 14px!important;
    width: 22px!important;
    height: 100%!important
}

#gallery_vote_header span {
    margin-left: 26px!important;
    font-size: 14px;
    display: inline-block;
    margin-right: 0;
}

.gallery_vote.has_voted {
    background-image: url(../images/button_icons/blue/like.svg?v=1);
}

.gallery_vote .vote_count {
    margin-left: 25px;
    margin-right: 5px;
    font-size: 12px;
    line-height: 40px;
    color: #fff;
    text-align: left
}

.gallery2__header__icon {
    width: 48px;
    height: 48px;
    background-size: 25px 25px;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    display: inline-block;
    margin: 0 0;
}

.gallery2__item__thumbnail .gallery2__item__thumbnail-ext {
    display: none;
    position: absolute;
    top: 6px;
    left: 40px;
    font-size: 12px;
    font-weight: 700;
}

.gallery2__item__thumbnail.psd .gallery2__item__thumbnail-ext,.gallery2__item__thumbnail.ai .gallery2__item__thumbnail-ext,.gallery2__item__thumbnail.eps .gallery2__item__thumbnail-ext,.gallery2__item__thumbnail.gif .gallery2__item__thumbnail-ext,.gallery2__item__thumbnail.tif .gallery2__item__thumbnail-ext,.gallery2__item__thumbnail.tiff .gallery2__item__thumbnail-ext {
    display: inline
}

#gallery2__top-ads {
    position: absolute;
    top: 62px;
    z-index: 9;
    height: 270px;
    padding: 10px;
    width: calc( 100% - 160px - 30px );
    z-index: 10;
}

#gallery2__top-ads>div {
    margin: 0 auto
}

body.ui-mobile #gallery2__top-ads {
    height: 70px;
    width: 100%;
    left: 0;
}

#gallery2.gallery__sidebar-visible #gallery2__top-ads {
    left: 360px;
    width: calc( 100% - 160px - 360px );
}

#gallery2.gallery2_top-ad-visible #gallery2__content__viewport {
    padding-top: 336px;
}

body.ui-mobile #gallery2.gallery2_top-ad-visible #gallery2__content__viewport {
    padding-top: 132px;
}

#gallery2__sidebar__info-set-custom-thumbnail {
    padding-top: 20px;
    display: none!important
}

.gallery2_item_info_padded {
    text-align: justify;
    margin: 20px;
    border-bottom: 1px solid #525252
}
#gallery2_info_head {
    padding-bottom: 10px;
}
.gallery2_item_info_padded.buttons {
    padding-bottom: 12px;
    display: grid;
    grid-gap: 6px;
    grid-template-columns: calc(50% - 3px) calc(50% - 3px);
    grid-auto-flow: dense;
    margin-top: 12px;
}

.gallery2_item_info_padded:first-child {
    padding-bottom: 10px;
}

.gallery2__sidebar__info-button {
    background-color: #505050;
    background-position-x: 8px!important;
    background-position-y: center!important;
    background-repeat: no-repeat!important;
    border-radius: 5px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #fff!important;
    cursor: pointer;
    display: inline-flex;
    font-family: roboto,Arial,sans-serif;
    font-size: 12px!important;
    height: 32px;
    line-height: 32px!important;
    padding: 0 8px 0 30px;
    text-align-last: auto;
    text-align: left;
    text-decoration: none;
    transition: background-color .5s ease,color .5s ease;
    white-space: nowrap;
    width: 100%;
    position: relative;
    align-items: center
}

.gallery2__sidebar__info-button a {
    color: #fff!important
}

.gallery2__sidebar__info-button:hover {
    background-color: #1389fe
}

.gallery2__sidebar__info-button.no-background {
    padding: 0 8px;
}

.gallery2__sidebar__info-button.no-background i {
    padding-right: 5px;
}

.gallery2__sidebar__info-button.half-button {
    width: 100%
}

.gallery2__sidebar__info-button:not(.half-button) {
    grid-column: span 2
}

.gallery2__sidebar__info-button#gallery2__item_info_save {
    background-image: url(/images/button_icons/white/download2.svg?v=1);
    background-size: 12px;
}

.gallery2__sidebar__info-button#gallery2__item_info_delete {
    background-image: url(/images/button_icons/white/delete.svg?v=1);
}

.gallery2__sidebar__info-button#gallery2__item_info_delete:hover {
    background-color: #ffe5e7;
    color: #fa4251!important;
    border-color: #fabdc2;
    background-image: url(/images/button_icons/red/delete.svg?v=1);
}

.gallery2__sidebar__info-button#gallery2__item_info_order {
    background-image: url(/images/button_icons/white/print.svg?v=1);
    background-size: 14px 14px;
}

.gallery2__sidebar__info-button#gallery2__item_info_cover {
    background-image: url(/images/button_icons/white/cover.svg?v=1);
    background-size: 14px 14px;
}

.gallery2__sidebar__info-button#gallery2__item_info_edit {
    background-image: url(/images/button_icons/white/edit.svg?v=1);
    background-size: 14px 14px;
}

.gallery2__sidebar__info-button#gallery2__sidebar__info-price,.gallery2__sidebar__info-button#gallery2__sidebar__info-buy-products {
    background-size: 15px;
    background-image: url(/images/button_icons/white/price.svg?v=1);
    background-position-x: 7px!important
}

.gallery2__sidebar__info-button#gallery2__sidebar__info-price:hover,.gallery2__sidebar__info-button#gallery2__sidebar__info-buy-products:hover {
    background-color: #00b715
}

.gallery2__sidebar__info-button#gallery2__left_info-button_sign {
    background-image: url(/images/button_icons/white/pen.svg?v=1);
    background-size: 15px 15px;
}

.gallery2__sidebar__info-button#gallery2__sidebar__info_embed_button {
    background-image: url(/images/button_icons/white/code.svg?v=1);
    background-position-x: 7px!important
}

#gallery2__controls_zoom {
    position: absolute;
    top: 7px;
    right: 0;
    transform: translateX(-50%);
    opacity: .75
}

#gallery2__controls_zoom a {
    min-width: 64px;
    height: 64px;
    font-size: 12px;
    border-radius: 4px;
    border: 1px solid #fff;
    color: #fff;
    top: initial;
    bottom: 0;
    padding: 5px 12px;
    background: rgba(83,108,121,.1);
}

.gallery-download-split-button.large {
    border-radius: 30px;
}

.gallery-download-split-button.x-split-button.large .x-button:not(.x-button-drop) {
    font-size: 18px;
}

.gallery-download-split-button.x-split-button.large .x-button.x-button-drop {
}

#gallery2 .gallery-download-myfiles-split-button a span {
    font-weight: 700;
}

#gallery2__left_info__signers-list-container {
    margin: 20px 0;
    font-size: 13px;
    text-align-last: left;
    grid-column: span 2
}

#gallery2__left_info__signers-list-container .file-signing-eparaksts-form_file-list_file-item_signatures-info_is-signed_header {
    font-weight: 700!important;
    margin-bottom: 8px;
}

#gallery2__left_info__signers-list {
}

#gallery2__left_info__signers-list .file-signing-eparaksts-form_file-list_file-item_signatures-info_is-signed {
    margin-bottom: 10px;
}

#gallery2__left_info__signers-list .file-signing-eparaksts-form_file-list_file-item_signatures-info_is-signed .signature-validation-icon {
    margin-right: 5px;
}

#gallery2__left_info__signers-list .file-signing-eparaksts-form_file-list_file-item_signatures-info_is-signed .signature-validation-icon.signature-validation-icon_is-valid {
    color: #7fbf83
}

#gallery2__left_info__signers-list .file-signing-eparaksts-form_file-list_file-item_signatures-info_is-signed .signature-validation-icon.signature-validation-icon_not-valid {
    color: red
}

#gallery2__left_info__signers-list .file-signing-eparaksts-form_file-list_file-item_signatures-info_is-signed span {
    margin-right: 5px;
}

#gallery2__left_info__signers-list .file-signing-eparaksts-form_file-list_file-item_signatures-info_is-signed span:nth-child(2) {
    min-width: 115px;
    display: inline-block
}

.gallery2__left_info__signers-list__loading i {
    margin-right: 5px;
}

@media screen and (max-width: 500px) {
    #gallery2 #jquery_jplayer_1 {
        max-width:640px!important;
        max-height: 360px!important;
        width: 100%!important;
        height: 100%!important
    }

    #gallery2 #jquery_jplayer_1>img {
        display: block
    }

    #gallery2 .jp-video video,#gallery2 .jp-audio,#gallery2 .jp-controls-holder {
        width: 100%!important
    }

    #gallery2 .jp-video,#gallery2 .jp-video>div,#gallery2 .jp-video img {
        height: 100%!important;
        width: 100%!important
    }

    #gallery2 .jp-video object {
        max-width: 640px!important;
        max-height: 360px!important;
        width: 100%!important;
        height: 100%!important
    }

    #gallery2 .jp-video-360p {
        max-width: 570px!important
    }

    #gallery2 .jp-video-270p {
        max-width: 480px!important
    }

    #gallery2 .jp-progress {
        width: 100%!important
    }
}

@media only screen and (max-width: 1250px) {
    .p2p_download #gallery2__save_p2p .gallery2__save_p2p_short_text,.p2p_download #gallery2__save .gallery2__save_short_text,#gallery2__sidebar__info_embed_button .gallery2__sidebar__info_embed_short_text {
        display:inline-block;
        font-size: 1em!important
    }

    #gallery2__save_p2p a span:not(.gallery2__save_p2p_short_text),#gallery2__save a span:not(.gallery2__save_short_text__info_embed_short_text) {
        font-size: 0;
    }

    #gallery2__save_p2p a .fa,#gallery2__save a .fa {
        margin-right: 0;
    }

    #gallery2__save {
        padding-left: 29px!important
    }

    #gallery2__header__mid #gallery2__buyfile a span,#gallery2__header__mid #gallery2__buy-products a span {
        font-size: 14px;
    }

    #gallery2__header__mid .gallery2__header_middle_button {
        padding: 0 10px 0 30px;
    }

    #gallery2__header__mid .gallery2__header_middle_button {
        padding-left: 30px;
    }
}

@media only screen and (max-width: 1000px) {
    #gallery2__header__mid .gallery2__header_middle_button {
        padding-left:30px;
    }

    #gallery2__buyfile,#gallery2__buy-products {
        padding-left: 0;
    }

    #gallery2__controls__prev,#gallery2__controls__next,#gallery2__controls__play {
    }

    #gallery2__thumb-strip__prev,#gallery2__thumb-strip__next {
        display: none!important
    }

    #gallery2__content.gallery__sidebar-visible #gallery2__content__viewport {
    }

    #gallery2.gallery__sidebar-visible #gallery2__top-ads {
        display: none
    }

    #gallery2__content__sidebar {
        right: -100%
    }

    #gallery2__content__sidebar__inner {
        overflow-y: auto
    }

    .ui-mobile #gallery2__thumb-strip {
        overflow-x: auto
    }

    .ui-mobile #gallery2__thumb-strip__inner {
        position: initial
    }

    #gallery2__header__logo_full {
        display: none
    }

    #gallery2__header__logo {
        margin-right: 0!important;
        padding-left: 0;
    }

    #gallery2__header__logo:after {
        content: ""!important
    }

    #gallery2__header__logo.failiem_lv,#gallery2__header__logo.files_fm {
        width: 0;
    }

    #gallery2__header__logo_small {
        display: inline-block
    }

    #gallery2__sidebar__info_embed_button .fa {
        margin-right: -4px!important
    }
}

@media only screen and (max-width: 850px) {
    #gallery2__header__mid a .fa {
        margin:0;
    }

    #gallery2__header__mid #gallery2__buyfile,#gallery2__header__mid #gallery2__buy-products {
        background-position-x: 7px;
    }

    #gallery2__header__mid #gallery2__buyfile a span,#gallery2__header__mid #gallery2__buy-products a span {
        font-size: 12px;
    }

    #gallery2__controls__prev,#gallery2__controls__next,#gallery2__controls__play {
    }

    #gallery2__thumb-strip__prev,#gallery2__thumb-strip__next {
        display: none!important
    }

    #gallery2__content.gallery__sidebar-visible #gallery2__content__viewport {
        padding-right: 100%
    }

    #gallery2.gallery__sidebar-visible #gallery2__top-ads {
        display: none
    }

    #gallery2__content__sidebar {
        width: 100%;
        right: -100%
    }

    #gallery2__content__sidebar__inner {
        overflow-y: auto
    }

    .ui-mobile #gallery2__thumb-strip {
        overflow-x: auto
    }

    .ui-mobile #gallery2__thumb-strip__inner {
        position: initial
    }
}

@media only screen and (max-width: 735px) {
    #gallery2__close {
        margin-right:0!important
    }

    #gallery2__save .gallery2__save_short_text {
        display: none!important
    }

    #gallery2.p2p_download_allowed.simple_download_allowed:not(.list_for_specific_file) #gallery2__header__mid_content #gallery2__save_p2p {
        display: none!important
    }

    #gallery2__header__mid .gallery2__header_middle_button {
        background-position-x: center
    }

    #gallery2__header__mid a span {
        font-size: 0;
    }

    #gallery2__header__mid #gallery2__order {
        background-position-x: 7px;
    }

    #gallery2__header__mid #gallery2__order a span {
        font-size: 14px;
    }

    #gallery2__controls_middle.image {
        display: inline-flex !important
    }

    #gallery2__header__fullscreen,#gallery2__header__zoom {
        display: none!important
    }
}

@media only screen and (max-width: 550px) {
    .gallery2__video_wrapper {
        width:100%
    }

    #gallery2__header__view-original-small {
        display: inline-block!important
    }

    #gallery2__header__view-original-small.hidden {
        display: none!important
    }

    #gallery2__controls_zoom {
        display: none
    }

    #gallery2__controls_left a {
        background-image: url(../images/gallery/gallery_backward.svg);
    }

    #gallery2__controls_right a {
        background-image: url(../images/gallery/gallery_forward.svg);
    }

    #gallery2__controls_left a,#gallery2__controls_right a {
        width: 64px;
        height: 64px;
        font-size: 24px;
        border-radius: 0;
        top: initial;
        bottom: 100px;
        background-size: 40px 40px;
        background-repeat: no-repeat;
        background-position: center;
        left: unset
    }

    #gallery2__controls_right a {
        right: 0;
    }

    #gallery2__controls_left a,#gallery2__controls_left a .fa,#gallery2__controls_right a,#gallery2__controls_right a .fa {
        line-height: 30px;
    }

    #gallery2__header__left .gallery_vote,#gallery2__header__setprice {
        display: none!important
    }

    #gallery2__header__logo {
        margin-right: 0!important
    }

    #gallery2__header__mid a {
        margin: 0;
    }

    #gallery2__header__mid .gallery2__header_middle_button {
        margin: 0 2px;
    }

    .gallery2__video_container__embed_palyer {
        padding: 0;
        height: auto
    }

    .gallery2__video_container {
        padding: 0;
    }

    .gallery2__item__custom_thumb {
        height: calc( 100% - 230px );
    }

    .gallery2__item__information-wrapper a {
        justify-self: center
    }

    .gallery__sidebar-visible #gallery2__info+#gallery2__close {
        display: none
    }
    #gallery2_item_info_bottom_section {
        margin-top: 20px;
    }

    #gallery2__sidebar-close {
        display: none
    }

    .gallery__sidebar-visible #gallery2__info {
        background-image: url(../images/button_icons/white/close.svg?v=1);
    }

    #gallery2__controls_left a:hover,#gallery2__controls_right a:hover {
        background-color: unset
    }

    .gallery2__item__iframe-wrapper iframe.modal_gallery_simple_iframe {
        width: calc( 100% - 100px);
    }
}

#gallery2__content-wrapper.gallery__only_image .gallery2__video_container {
    padding: 0;
}

#gallery2__content-wrapper.gallery__only_image #gallery2__header_mobile,
#gallery2__content-wrapper.gallery__only_image #gallery2__header,
#gallery2__content-wrapper.gallery__only_image #gallery2__thumb-strip,
#gallery2__content-wrapper.gallery__only_image #gallery2__controls_middle,
#gallery2__content-wrapper.gallery__only_image #gallery2__controls_left,
#gallery2__content-wrapper.gallery__only_image #gallery2__controls_right,
#gallery2__content-wrapper.gallery__only_image #gallery2__thumb-strip__hide_container {
    display: none!important
}

#gallery2__content-wrapper.gallery__only_image #gallery2__content__viewport {
    padding: 0!important
}

#gallery2__content-wrapper.gallery__only_image .gallery2__video_container__embed_palyer {
    max-height: 100%
}

@media screen and (orientation: landscape) {
    #gallery2__content-wrapper.gallery__only_image:not(.gallery__is_image) #gallery2__header_mobile {
        display:flex!important
    }

    #gallery2__content-wrapper.gallery__only_image:not(.gallery__is_image) .gallery2__video_container {
        padding: 36px 0 0;
    }

    #gallery2__content-wrapper.gallery__only_image:not(.gallery__is_image) .gallery2__video_container__embed_palyer {
        max-height: calc(100% - 36px);
    }
}

@media only screen and (max-width: 500px) {
    #gallery2__header__left .gallery_vote,
    #gallery2__header__setprice {
        display:none!important
    }

    .gallery2__item .print_or_buy_popup {
        min-width: unset
    }

    #gallery2__header_mobile {
        display: flex;
    }

    #gallery2__header {
        bottom: 0;
        position: absolute
    }

    #gallery2__content__viewport {
        padding-top: 36px;
        padding-bottom: 74px;
    }

    #gallery2__content.gallery__thumbs-visible #gallery2__content__viewport {
        padding-bottom: 150px;
    }

    #gallery2__content__sidebar {
        padding-top: 36px;
        padding-bottom: 80px;
    }

    #gallery2__close,#gallery2__header__left {
        display: none!important
    }

    #gallery2__header__inner {
        padding: 15px 20px 7px;
        background-color: #060606;
        max-width: 100%;
        box-sizing: border-box;
    }

    #gallery2__info {
        background-color: transparent;
        font-size: 12px;
        flex-direction: column;
        padding: 0;
        text-align: center;
        justify-content: center;
        padding-top: 30px;
        background-position-y: 7px !important;
    }
    #gallery2__info:hover {
         background-color: transparent !important;
    }

    #gallery2__thumb-strip {
        height: 70px;
        padding-top: 10px;
        margin-top: 0;
    }

    #gallery2__thumb-strip__inner a {
        height: 57px;
        min-height: 57px;
    }

    #gallery2__thumb-strip__inner a img {
        max-height: 100%
    }

    #gallery2__header__mid {
        display: flex;
        height: 58px;
        text-align: left;
        flex-wrap: wrap;
    }

    #gallery2__header__mid_content {
        display: inline-flex;
        column-gap: 15px;
        width: 100%;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-around;
    }

    #gallery2__header__mid .gallery2__header_middle_button,
    #gallery2__header .gallery2__header__icon-group span,
    #gallery2__header__right {
        height: 58px;
        min-width: 65px;
        margin: 0;
    }

    #gallery2__header__mid #gallery2__order,
    #gallery2__header__mid #gallery2__buyfile,
    #gallery2__header__mid .x-split-button {
        margin: 0;
        height: 58px;
        max-width: 65px;
        padding-left: 0;
        flex-direction: row;
        text-align: center;
        justify-content: center;
        background-size: 18px !important;
        background-position-y: 7px !important;
        background-position-x: center !important;
        background-color: transparent !important;
        text-align: center;
        align-items: stretch;
    }
    #gallery2__header__mid .x-split-button {
         max-width: unset;
         background: unset;
    }
    
    #gallery2__header__mid .gallery2__header_middle_button {
        flex-direction: column;
        padding: 0;
        align-items: center;
        text-align: center;
        justify-content: center;
        padding-top: 30px;
        background-size: 18px !important;
        background-position-y: 7px !important;
        background-position-x: center !important;
        background-color: transparent !important;
    }
    #gallery2__header__mid .gallery2__header_middle_button:hover {
         background-color: transparent !important;
    }

    #gallery2__header__mid #gallery2__buyfile,
    #gallery2__header__mid #gallery2__buy-products {
        background-position: center
    }

    #gallery2__header__mid .gallery2__header_middle_button  a span {
         font-size: 12px !important;
         line-height: 12px;
    }
    
     #gallery2__header__mid #gallery2__buyfile {
         background: unset;
         align-items: center;
     }
    #gallery2__header__mid #gallery2__buyfile a {
        display: flex;
        flex-direction: column-reverse;
    }
    
    #gallery2__header__mid #gallery2__buyfile span.price {
        background: #00b715;
        padding: 4px 9px;
        border-radius: 10px;
        display: inline-block;
        position: absolute;
        top: 5px;
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
    }
    #gallery2__header__mid #gallery2__buyfile span.price:before,
    #gallery2__header__mid #gallery2__buyfile span.price:after {
        content: '';
    }


    #gallery2__header__mid .x-button.x-button-main span:not(.x-button-short-text) {
        display: none
    }
    .x-split-button:not(.large) .x-button-main .x-button-short-text {
        display: inline;
        font-size: 12px !important;
        height: 12px;
    }

    #gallery2__header__mid .x-split-button:not(.large) .x-button {
        line-height: 12px;
        height: 12px;
        background-color: transparent;
    }
    #gallery2__header__mid .x-split-button:not(.large) .x-button.x-button-main {
        background-repeat: no-repeat !important;
        background-image: url(/images/button_icons/white/download2.svg?v=1);
        display: flex;
        flex-direction: column;
        padding-top: 30px;
        background-size: 18px !important;
        background-position-y: 7px !important;
        background-position-x: center !important;
        background-color: transparent !important;
        height: 100%;
        justify-content: center;
    }

    #gallery2__header__mid .x-button.x-button-drop {
        padding: 1px 14px 1px 10px!important;
        margin-left: auto;
        height: 100% !important;
        display: none;
    }

    #gallery2__header__mid .x-button-drop-menu {
        bottom: 40px;
        top: unset
    }

    #gallery2__header__mid .seperator {
        display: inline-block;
        height: 42px;
        width: 1px;
        border-left: 2px solid #313131;
        margin-right: auto
    }
}

@media only screen and (max-width: 420px) {
    #gallery2__header__mid #gallery2__edit {
        display:none!important
    }

    #gallery2__header .gallery2__header__img-count {
        margin-right: 0;
        font-size: 12px;
    }

    #gallery2__header__right span {
        width: 28px;
    }

    #gallery2__header__mid #gallery2__order {
        background-position-x: center;
        width: 0;
    }

    #gallery2__header__mid #gallery2__order {
        width: 42px;
    }

    #gallery2__header__mid #gallery2__order a span {
        font-size: 0;
    }

    .bx-wrapper .gallery2__item img.ext-icon {
        width: 100px;
    }

    .gallery2__item .print_or_buy_popup_button {
        width: 100%
    }
}

@media only screen and (max-width: 360px) {
    #gallery2__header__logo {
        padding-left:0;
        padding-right: 2px;
    }

    #gallery2__header__mid {
        margin-right: 8px;
    }

    #gallery2__header__mid_content {
        column-gap: 8px;
    }

    #gallery2__header__inner {
        padding: 15px 10px 7px;
    }
}

@media only screen and (max-width: 740px) {
    .gallery2__item__desc-wrapper {
        font-size:14px;
        line-height: 18px;
    }
}

@media only screen and (max-width: 600px) {
    .gallery2__item__audio-wrapper {
        height:100%;
        width: 100%
    }
}

@media only screen and (max-height: 600px) {
    .gallery2__item__doc-wrapper .fa-5x {
        font-size:100px;
        margin-bottom: 12px;
    }

    .gallery2__item__doc-wrapper p.gallery2__item__doc-nopreview {
        margin: 24px 0 12px;
    }
}

@media only screen and (max-height: 630px) {
    .gallery2__item__doc-icon img {
        width:115px!important
    }
}

#gallery2__thumb-strip__inner .thumb-loader {
    font-size: 2px;
    text-indent: -9999em;
    text-align: center;
    width: 11em;
    height: 11em;
    border-radius: 50%;
    background: #fff;
    background: -moz-linear-gradient(left,#ffffff 10%,rgba(255,255,255,0) 42%);
    background: -webkit-linear-gradient(left,#ffffff 10%,rgba(255,255,255,0) 42%);
    background: -o-linear-gradient(left,#ffffff 10%,rgba(255,255,255,0) 42%);
    background: -ms-linear-gradient(left,#ffffff 10%,rgba(255,255,255,0) 42%);
    background: linear-gradient(to right,#ffffff 10%,rgba(255,255,255,0) 42%);
    position: absolute;
    top: calc(50% - 8px);
    left: calc(50% - 8px);
    z-index: 10000;
    -webkit-animation: load3 1.4s infinite linear;
    animation: load3 1.4s infinite linear;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}

#gallery2__thumb-strip__inner .thumb-loader:before {
    width: 50%;
    height: 50%;
    background: #fff;
    border-radius: 100% 0 0 0;
    position: absolute;
    top: 0;
    left: 0;
    content: ''
}

#gallery2__thumb-strip__inner .thumb-loader:after {
    background: #000;
    width: 75%;
    height: 75%;
    border-radius: 50%;
    content: '';
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

@-webkit-keyframes load3 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load3 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
