.imageLibraryTabLarge {
    height: 60px;
    background-color: #f7f7f7;
    margin: 0 auto;
    color: #e7505a;
/*    background-color: #4f595f;*/
/*    border-radius: 50px 50px 0 0;*/
    -webkit-box-shadow: 0 -2px 35px -8px #616161;
    -moz-box-shadow: 0 -2px 35px -8px #616161;
    box-shadow: 0 -2px 35px -8px #616161;
}

.imageLibraryTabLarge:hover {
    cursor: pointer;
}

.imageLibraryPanel .noImageNotification {
    color: #B8B8B8;
    font-size: large;
    text-transform: uppercase;
    margin-top: 40px;
    white-space: normal;
}

.imageLibraryPanel .copyrightDisclaimer {
    color: #B8B8B8;
    margin-top: 15px;
    white-space: normal;
}

#imageLibraryHolder {
   z-index: 998;
   width: 100%;
   position: fixed;
   left: 0;
   bottom: 0;
   border-top: 1px solid #d3d3d3;
}

#imageLibrary {
    width: 100%;
    z-index: 1001;
    background-color: #f7f7f7;
}
.aiIcon {
    text-align: left;
    width: 16px;
    top: -78px;
    z-index: 904;
    position: relative;
    display: block;
}
.filterTitle{
    display: block;
    font-size: 0.8em;
    margin-top: -6px !important;
    margin-bottom: 2px;
}
.imageLibraryPanel {
    white-space: nowrap;
    height: 140px;
}
.filterLibraryPanel {
    white-space: nowrap;
    height: 56px;
}

#libraryScroller::-webkit-scrollbar {
    height: 8px;
}

#libraryScroller::-webkit-scrollbar-track {
    background: #434343;
}

#libraryScroller::-webkit-scrollbar-thumb {
    background: #6C6C6C;
}
#filtersScroller::-webkit-scrollbar {
    height: 8px;
}

#filtersScroller::-webkit-scrollbar-track {
    background: #434343;
}

#filtersScroller::-webkit-scrollbar-thumb {
    background: #6C6C6C;
}

.imageLibraryItem {
    display: inline-block;
    margin-right: 8px;
    -webkit-box-shadow: 0 0 5px -1px rgba(0,0,0,.54);
    -moz-box-shadow: 0 0 5px -1px rgba(0,0,0,.54);
    box-shadow: 0 0 5px -1px rgba(0,0,0,.54);
}
.filtersScrollerItem{
    display: inline-block;
    margin-right: 8px;
}

.imageLibraryItem img {
    max-height: 120px;
    cursor: pointer;
}

 .imageLibraryItem .functionsReveal {
    display: block;
    position: relative;
    z-index: 1002;
    float: right;
    right: 7px;
    bottom: 45px;
    margin: 0 0 -45px 0;
    background-color: #ededed;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    border: 1px solid #f76f01;
    cursor: pointer;
 }

 .imageLibraryItem .functionsReveal .expand {
    color: #f76f01;
    margin-top: -10px;
    margin-left: -8px;
    padding: 20px;
 }

 .imageLibraryItem .menu {
    display: block;
    position: fixed;
    z-index: 1002;
    background-color: #EEEEEE;
    opacity: 0.8;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    bottom: 85px;
    width: 160px;
    height: 100px;
    border-width: 0.1px;
    border: #434343;
    border-style: solid;
    border-radius: 6px;
 }

 .imageLibraryItem .popover {
    width: 176px;
    display: block;
    top: -250px;
    left: -69px;
    position: relative; 
    z-index: 1100
}
 .imageLibraryItem .separate {
    height: 1px;
    margin: 5px 0;
    overflow: hidden;
    background-color: #e5e5e5;
}

.imageLibraryItem .popover .menuItem {
    padding: 5px 0 5px 0;
    cursor: pointer;
    height: 43px;
}

.imageLibraryItem .popover .menuItem .icon {
    color: #f76f01;
}

.imageLibraryItem .popover .menuItem .text {
    padding-left: 10px;
}
.imageLibraryItem .popover .menuItem .textnew {
    position: relative;
    top: -6px;
}
.textnew:hover {
    color: #e22c38;
}

.imageLibraryItem .libraryRefCountOverlay {
    display: block;
    position: relative;
    z-index: 1001;
    float: right;
    right: 14px;
    bottom: 110px;
    margin: 0 0 -30px 0;
    color: white;
    opacity: 0.9;
    width: 25px;
    height: 25px;
    border-radius: 15px;
    cursor: pointer;
}

.imageLibraryItem .libraryRefCountOverlay div{
    margin: 2.5px 0 0 0;
}
#imageLibrary .navigatecontainer .libraryScrollLeft, #imageLibrary .navigatecontainer .libraryScrollRight {
    width: 32px;
    height: 32px;
    cursor: pointer;
}

#imageLibrary .navigatecontainer .libraryScrollLeft {
    background-image: url('/img/library-left.svg');
    background-size: 32px 32px;
    margin-left: auto;
    margin-right: 10px;
}

#imageLibrary .navigatecontainer .libraryScrollRight {
    background-image: url('/img/library-right.svg');
    background-size: 32px 32px;
}

#imageLibrary .navigatecontainer {
    height: 100px;
}

#imageLibrary .navigatecontainer .outer {
    display: table;
    position: absolute;
    height: 100%;
    width: 100%;
    margin-top: 20px;
}

#imageLibrary .navigatecontainer .middle {
    display: table-cell;
    vertical-align: middle;
}

#libraryScroller {
    overflow-y: hidden;
    position: relative;
}
#filtersScroller {
    overflow-y: hidden;
    position: relative;
}

#libraryScroller.itemMenuOpen {
    padding-top: 140px;
    top: -140px;
}

#libraryScroller #toggle {
    position: relative;
    top: -38px;
    cursor: pointer;
    margin: auto;
    width: 30px;
}

.imageLibraryLoader {
    padding-top: 50px;
    height: 177px;
}

.loader {
    display: none;
}
.loading {
    height: 100px;
    width: 125px;
}

.imageLibraryItem.loading img {
    padding-top: 25px;
    margin: auto;
}

.imageLibraryTabLarge .fa {
    color: #e7505a;
    padding-top: 14px;
}
.imageLibraryTabLarge .fa-spinner {
    padding-top: 0px !important; 
}
.imageLibraryText {
    text-align: center;
    font-size: 1.5em;
    font-weight: 400;
    line-height: 50px;
    padding-left: 10px;
}
.imageLibrarySageata{
    color: #7f8c97 !important;
    left: 80%;
    position: absolute;
    margin: 0;
}

#imageLibraryHolder .btn-success, #loadOtherImages .btn-success{
    background-color: #73ac1d;
    border: none;
    font-weight: 500;
    padding: 12px 0;
}
#imageLibraryHolder .btn-warning,  #loadOtherImages .btn-warning{
    background-color: #ffb822;
    border: none;
    font-weight: 500;
    padding: 12px 0;
}
#imageLibraryHolder .c-btn-grey-3, #loadOtherImages .c-btn-grey-3 {
    padding: 12px 0;
    font-weight: 500;
}
#imageLibraryHolder .c-btn-facebook, #loadOtherImages .c-btn-facebook {
    background-color: #3b5998;
    border: none;
    font-weight: 500;
    padding: 12px 0;
    color: #ffffff;
}
#imageLibraryHolder .c-btn-instagram, #loadOtherImages .c-btn-instagram {
    background-color: #fb3958;
    border: none;
    font-weight: 500;
    padding: 12px 0;
    color: #ffffff;
}
.product-social-image{
    cursor: pointer;
}
.small-buttons-landscape {
    margin-top: 50px;
}
#imageLibraryHolder .btn-success:active, #imageLibraryHolder .btn-success:hover {
    background-color: #659e01;
    border: none;
}
#imageLibraryHolder .btn-warning:active, #imageLibraryHolder .btn-warning:hover {
    background-color: #fbaa00;
    border: none;
}
#imageLibraryHolder .c-btn-facebook:active, #imageLibraryHolder .c-btn-facebook:hover,  #loadOtherImages .c-btn-facebook:hover {
    background-color: #6d84b4;
    border: none;
}
#imageLibraryHolder .c-btn-instagram:active, #imageLibraryHolder .c-btn-instagram:hover,  #loadOtherImages .c-btn-instagram:hover {
    background-color: #fc6d85;
    border: none;
}
.upload-photo-modal {
    width: 70% !important;
}
@media (max-width: 970px){
    .upload-photo-modal {
        margin: auto;
        width: 100% !important;
        height: 100% !important;
    }
    .upload-photo-modal-content {
        height: 95vh !important;
        height: 100%;
        border: none;
        -ms-border-radius: 0;
        border-radius: 0;
    }
    .upload-photo-modal-choice-content {
        overflow-y: auto;
    }
    .upload-photo-modal-body {
        margin-top: 15vh !important;
        margin-bottom: 0;
    }
}

.upload-photo-modal-content {
    height: 90vh;
}
.upload-photo-type-facebook {
    color: #3b5998;
}
.upload-photo-type-instagram {
    color: #fb3958;
}
.upload-social-photo-button {
    padding: 12px;
    font-weight: 500;
    margin-bottom: 16px;
    width: 100%;
}
.upload-photo-social-icon-header {
    font-size: 2.5rem;
}
.upload-photo-modal-body {
    margin-top: 30vh;
}
.upload-social-photo-modal-body {
    padding: 0 10px;
}
.upload-photo-modal-header {
    margin-bottom: 10px;
    padding: 15px 0;
    font-size: 20px;
    font-weight: 500;
}
.social-loading {
    position: fixed;
    z-index: 1299;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0,0,0,.3);
    width: 100%;
    height: 100%;
}
.social-loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
}
.social-profile-photo {
    height: 50px;
    width: 50px;
    margin-bottom: 8px;
    vertical-align: top;
}
.social-photos-container {
    overflow-y: auto;
    margin-top: 8px;
    overflow-x: hidden;
}
.body-modal-open-forced {
    overflow: hidden !important;
    /* position: fixed !important;  */
}
.social-profile-info {
    margin-left: 8px;
}
.social-label {
    margin-right: 8px;
}

.facebook-album-select {
    -moz-min-width: 200px;
    -ms-min-width: 200px;
    -o-min-width: 200px;
    -webkit-min-width: 200px;
    min-width: 200px;
    margin-right: 10px;
}
#instagramPhotosTopContentHolder, #instagramPhotosButtonHolder, #facebookPhotosButtonHolder {
    margin-top: 12px;
}
@media (min-width: 768px) and (max-width: 991px) {
    .imageLibraryPanel .noImageNotification {
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .imageLibraryPanel .noImageNotification {
        margin-top: 10px;
        font-size: medium;
    }
    .imageLibraryPanel .copyrightDisclaimer {
        font-size: 12px;
    }
}
.center-image{
    margin-left: auto;
    margin-right: auto;
    display: block;
}
.modal-open {
    overflow: visible !important;
    position:relative;
}
