.gallery-video-container::after,
.gallery-video-container::before,
.gallery-image-container::after,
.gallery-image-container::before {
    content: " ";
    display: table
}

.gallery-image-container .gallery-image-field {
    border: 1px solid #333;
    float: left;
    width: 15%;
    margin: .7%;
    background-color: #333;
    position: relative
}

.gallery-video-container .gallery-video-field {
    float: left;
    width: 280px;
    margin: 10px;
    font-size: 30px;
    text-align: center
}

.gallery-video-container .gallery-video-field .error {
    font-size: 14px;
    height: 100%;
    border: 1px solid #ffc9c9;
    background: #ececec
}

.gallery-image-container .gallery-image-field img {
    width: 100%;
    max-width: 100%;
    height: auto
}

.gallery-image-container .um-gallery-single-image {
    position: relative;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100px
}

.gallery-image-container .um-gallery-single-image ._cancel {
    position: absolute;
    top: 5px;
    right: 5px;
    opacity: .4;
    z-index: 99999;
    background: #fff;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 20px;
    font-size: 20px;
    font-weight: 700;
    color: #000;
    font-family: sans-serif
}

.gallery-image-container .um-gallery-single-image:hover .cancel {
    opacity: .7
}

.gallery-image-container .um-gallery-single-image .preview {
    opacity: 0;
    height: 100%;
    width: 100%;
    line-height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    background: rgba(0, 0, 0, .48);
    transition: all .2s ease-in
}

.gallery-image-container .um-gallery-single-image .preview a {
    color: #fff;
    font-size: 30px;
    line-height: 110px;
    margin: 0 5px;
    text-decoration: none;
    border: 0;
    opacity: .7
}

.gallery-image-container .um-gallery-single-image .preview a:hover {
    opacity: 1;
    fonbt-size: 35px
}

.gallery-image-container .um-gallery-single-image:hover .preview {
    opacity: 1
}

.clear {
    clear: both
}

.um-gallery-single-holder {
    width: 280px;
    height: 240px
}

.gallery-image-field>.img-status {
    display: block;
    text-align: center;
    font: 400 14px/20px 'Open Sans';
    color: #fff;
    background-color: #333
}

.view-body p,
.view-header .view-user {
    font-family: 'Open Sans'
}

.gallery-image-field.publish {
    border-color: #7ba43b
}

.gallery-image-field.publish>.img-status {
    background-color: #7ba43b
}

.gallery-image-field.draft .um-gallery-single-image.um-gallery-single {
    filter: opacity(50%);
    -webkit-filter: opacity(50%)
}

.photo-gallery-items {
    float: left;
    position: relative;
    width: 100%
}

.photo-gallery-items .no-records {
    margin: 20px 0
}

.gallery-image-wrapper {
    float: left;
    margin: 1%;
    position: relative;
    width: 23%
}

.gallery-image {
    height: 160px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat
}

#gallery-view-wrapper {
    background-image: url(../images/gallery-indicator.png);
    background-position: 104px 0;
    background-repeat: no-repeat;
    display: none;
    float: left;
    height: 495px;
    margin: 0 1% 15px;
    padding-top: 15px;
    width: 98%
}

#gallery-view {
    background-color: #333;
    color: #fff;
    height: 480px;
    padding: 40px 0;
    position: relative;
    width: 100%
}

#gallery-view-wrapper .gallery-nav.prev,
.gallery-view-data,
.gallery-view-image {
    float: left
}

#gallery-view-wrapper .gallery-nav {
    height: 400px;
    width: 4%
}

#gallery-view-wrapper .gallery-nav.prev {
    background: url(../images/gallery-arrow-left.png) left center no-repeat
}

#gallery-view-wrapper .gallery-nav.next {
    background: url(../images/gallery-arrow-right.png) left center no-repeat;
    float: right
}

#gallery-view-wrapper .gallery-nav:hover {
    background-position: right center
}

#gallery-view-wrapper .gallery-close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    padding: 0 5px;
    font-size: 24px
}

.gallery-view-image {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 400px;
    text-align: center;
    width: 60%
}

.gallery-view-image img {
    /*box-shadow: 0 0 12px #000;
    max-height: 400px;
    max-width: 600px*/
    display: none;
}

.gallery-view-data {
    margin: 0 2%;
    overflow: hidden;
    width: 28%
}

.gallery-view-data .view-body .loading {
    background: url(../images/loading.gif) center no-repeat;
    height: 80px;
    margin: 20px 0;
    width: 100%
}

.view-header {
    border-bottom: 1px solid #888;
    margin-bottom: 10px;
    padding-bottom: 10px;
    width: 100%
}

.view-body p,
.view-header p {
    margin-bottom: 0
}

.view-header .view-user {
    color: #F4851F
}

.view-body .user-image {
    height: 80px;
    margin: 6px;
    width: 80px;
    display: inline-block;
    background-position: center;
    background-size: contain
}

.photo-gallery-header {
    border-bottom: 1px solid #F4851F;
    width: 100%
}

.photo-gallery-header form.filter {
    display: flex;
    justify-content: space-between;
}

/*.photo-gallery-header div,
.photo-gallery-header h3 {
    margin-top: 16px;
    vertical-align: middle
}*/

.photo-gallery-header .filter-user {
    align-items: center;
    display: flex;
    text-align: center
}

.photo-gallery-header .filter-user input {
    background-color: #eaeaea;
    border: none;
    color: #666666;
    cursor: pointer;
    font: 400 14px/20px 'Open Sans';
    padding: 10px;
    text-transform: uppercase
}

.photo-gallery-header .filter-user input:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.photo-gallery-header .filter-user input:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.photo-gallery-header .filter-user input.selected {
    background-color: #f8a91a;
    color: #ffffff;
}

.photo-gallery-header .filter-date {
    align-items: center;
    display: flex;
    text-align: right
}

.photo-gallery-header .photo-search-wrapper {
    align-items: center;
    display: flex;
}

.photo-gallery-header .photo-search-wrapper input[type="text"] {
    background-color: #eaeaea;
    border: none;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
    font: 400 14px/20px 'Open Sans';
    padding: 20px 10px;
}

.photo-gallery-header .photo-search-wrapper input[type="submit"] {
    background-color: #f8a91a;
    border: none;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
    color: #ffffff;
    font: 400 14px/20px 'Open Sans';
    padding: 10px;
}

select.filter {
    background-color: #9cbf43;
    border-color: #9cbf43;
    border-radius: 3px;
    color: #fff;
    font: 400 14px/20px 'Open Sans';
    height: 40px;
    margin: 0 5px;
    padding: 10px;
}

.um-single-preview p.label {
    font-style: italic;
    margin-bottom: 5px
}

.privacy-0:after {
    content: 'Private';
    position: absolute;
    top: 5px;
    left: -1px;
    background-color: #333;
    padding: 0 10px;
    font: 400 12px/18px 'Open Sans';
    color: #fff;
    text-transform: uppercase
}

.image-view-wrapper {
    margin-top: 40px
}

.image-view-header h3 {
    float: left;
    width: 50%
}

.image-view-header .image-view-data {
    float: left;
    text-align: right;
    width: 50%
}

.image-view-header .image-view-data p {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.image-view-header .image-view-data p.view-user {
    color: #F4851F;
    font-family: 'Open Sans'
}

.image-view-footer>div {
    float: left;
    margin-top: 20px;
    width: 50%
}

.image-view-footer .image-view-link {
    font: 700 16px 'Open Sans';
    text-align: right;
    text-transform: uppercase
}

.image-view-wrapper .image-view {
    position: relative
}

.image-view-wrapper .image-view .image-view-link {
    bottom: 10px;
    left: 10px;
    position: absolute
}

.image-view-wrapper .image-view .image-view-link a {
    color: #fff;
    font-size: 24px
}

.um-gallery-title {
    color: #ffffff;
    background-color: #333333;
    padding: 1px 10px 10px;
}

.um-image-preview>img {
    margin-bottom: 0 !important;
    padding-bottom: 15px;
    background-image: none;
    background-position: bottom center;
    background-repeat: no-repeat;
}

.um-image-preview>img.item-active {
    border-color: #ffcc00;
    background-image: url(../images/gallery-indicator.png);
}

.um-gallery-info-wrapper {
    background-color: #eaeaea;
    border-top: 2px solid #333333;
    display: flex;
    justify-content: space-between;
}

.um-gallery-info-wrapper .um-gallery-title,
.um-gallery-info-wrapper .um-gallery-identify {
    flex: 0 0 49%;
}

.um-gallery-info-wrapper .um-gallery-title h4 {
    font-size: 16px;
}

.um-gallery-info-wrapper .um-gallery-identify {
    max-height: 300px;
    overflow: auto;
    padding-right: 2%;
}

.um-gallery-info-wrapper .um-gallery-identify .pid-results ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.um-gallery-info-wrapper .um-gallery-identify .pid-results ul li {
    display: flex;
    margin-bottom: 20px;
}

.um-gallery-info-wrapper .um-gallery-identify .pid-results ul li .ident-prob {
    line-height: 1.25;
    margin-right: 10px;
    min-width: 60px;
}

.um-gallery-info-wrapper .um-gallery-identify .pid-results ul li .ident-info p {
    font-size: 14px;
    line-height: 1.25;
    margin: 0;
}

#gallery-view-wrapper .gallery-view-data .pid_info {
    display: none;
}

#gallery-view-wrapper .gallery-view-id {
    display: none;
    flex-direction: column;
    max-height: 100%;
}

#gallery-view-wrapper .gallery-view-id .gallery-view-scroll {
    overflow: auto;
    padding-right: 20px;
}

#gallery-view-wrapper .gallery-view-id .plant-name {
    color: #ffffff;
    font-size: 24px;
}

#gallery-view-wrapper .gallery-view-id .common-names {
    color: #ffffff;
    font-weight: bold;
}

#gallery-view-wrapper .gallery-view-id .plant-description {
    color: #ffffff;
}

#gallery-view-wrapper .gallery-view-id .plant-source {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#gallery-view-wrapper .gallery-view-id .plant-taxonomy {
    display: flex;
    flex-wrap: wrap;
}

#gallery-view-wrapper .gallery-view-id .plant-taxonomy dt {
    flex: 0 0 50%;
    text-transform: capitalize;
}

#gallery-view-wrapper .gallery-view-id .plant-taxonomy dd {
    flex: 0 0 50%;
    margin: 0;
}

/* width */
#gallery-view-wrapper .gallery-view-id .gallery-view-scroll::-webkit-scrollbar {
    border-radius: 4px;
    width: 8px;
}

/* Track */
#gallery-view-wrapper .gallery-view-id .gallery-view-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
#gallery-view-wrapper .gallery-view-id .gallery-view-scroll::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
#gallery-view-wrapper .gallery-view-id .gallery-view-scroll::-webkit-scrollbar-thumb:hover {
    background: #555;
}

#gallery-view [role="button"] {
    background-color: #f58018;
    background-image: url(/wp-content/themes/Avada-Child-Theme/images/arrow-icon-right.png);
    background-repeat: no-repeat;
    background-position: 98% 50%;
    border-radius: 3px;
    color: #ffffff !important;
    cursor: pointer;
    display: block;
    padding: 12px;
    margin-top: 20px;
}

#gallery-view [role="button"]:hover {
    color: #ffffff !important;
}

#gallery-view .view-data {
    background-image: url(/wp-content/themes/Avada-Child-Theme/images/arrow-icon-left.png);
    background-position: 2% 50%;
    text-align: right;
}