@font-face {
    font-family: FuturaHeavy;
    src: url("../../../fonts/Futura Heavy font.ttf");
}

@font-face {
    font-family: FuturaLight;
    src: url("../../../fonts/futura light bt.ttf");
}

/* Media gallery container */
#media-gallery-container{
	display: flex;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0%;
    left: 0%;
    justify-content: center;
    vertical-align: middle;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    color: black;
}
.media-choose-dlg {
    width: 70vw;
    height: 40vw;
    position: relative;
    left: 2vw;
    bottom: 2vw;
    z-index: 2;
}

.title-descriptor-wrapper {
    font-size: 1.1vw;
    font-family: Futura-Medium, sans-serif;
    color: #fff;
    text-align: left;
}

.media-title-container {
    height: 10%;
    border-bottom: 1px solid #666;
}

.media-options-container {
    width: 100%;
    height: 8%;
    display: block;
    position: relative;
    background-color: #000;
    z-index: 1;
}

.media-options-wrapper {
    /*
    position:absolute;
    right:5vw;
    */
}

.dropdown-btn,
.sort-btn {
    background-color: transparent;
    border: none;
    border-radius: 0.2vw;
    height: 2vw;
    width: 2vw;
    cursor: pointer;
}

.dropdown-btn:hover,
.sort-btn:hover {
    background-color: rgba(102, 102, 102, 0.4);
}

.view-type-img-list {
    content: url(../../../images/media_library/Icon_ListView.svg);
}

.view-type-img-grid {
    content: url(../../../images/media_library/Icon_GridView.svg);
}

#sort-options-dropdown-menu {
    display: inline-block;
    position: absolute;
    background-color: rgba(102, 102, 102, 0.4);
    font-size: 1.2vw;
    top: 100%;
    left: 0;
    width: 150%;
    border-radius: 0.2vw;
}

.sort-option {
    text-align: start;
}

.sort-option img {
    display: inline-block;
    position: relative;
    width: 1vw;
}

.sort-description {
    display: inline-block;
    position: relative;
}

#sort-dropdown-btn {
    font-size: 1.2vw;
    color: #666;
    font-family: FuturaHeavy, sans-serif;
    display: inline-block;
    position: absolute;
    top: 0.5vw;
    right: 3vw;
}

.sort-dropdown {
    color: #666;
    background-color: transparent;
    border: none;
    border-radius: 0.2vw;
    font-family: FuturaHeavy, sans-serif;
    font-size: 0.8vw;
    height: 2vw;
    cursor: pointer;
}

.sort-dropdown:hover {
    background-color: rgba(102, 102, 102, 0.4);
}

.sort-dropdown option {
    color: white;
    background-color: #666;
}

.sort-dropdown-menu {
    background-color: rgba(102, 102, 102, 0.4);
    border: none;
}

.sort-vertical-flip {
    -webkit-transform: scaleY(-1);
    transform: scaleY(-1);
}

#toggle-listview-btn {
    display: inline-block;
}

.media-main-container {
    width: 100%;
    height: 100%;
    display: inline-block;
    position: relative;
}

.media-menu-container {
    display: inline-block;
    position: relative;
    width: 20%;
    height: 100%;
    background: #202126 0% 0% no-repeat padding-box;
    overflow-y: auto;
    overflow-x: hidden;
    float: left;
    border-radius: 0.5rem 0 0 0.5rem;
}

.description-wrapper {
    border-top: 1px solid #666;
}

.description-text {
    float: left;
    position: relative;
    font-size: 0.6vw;
    color: #666;
    text-align: left;
}

.description-icon-wrapper img {
    display: inline-block;
    position: relative;
    width: 2.5vw;
    vertical-align: super;
    margin-top: 0;
}

.description-icon-wrapper button {
    display: inline-block;
    position: relative;
    border: none;
    background: transparent;
}

.media-imgs-container {
    height: 100%;
    position: relative;
    background-color: #000;
    background-clip: padding-box;
    border-left-color: #fbb03b;
    border-left-style: solid;
    border-left-width: thin;
    align-items: center;
    overflow: hidden;
    border-radius: 0 0.5rem 0.5rem 0;
}

.media-bottom-container {
    height: 12%;
    background-color: #000;
    border-top: 1px solid #666;
}

.media-delete-btn {
    background-color: #fd4747;
}

.media-delete-btn:hover {
    background-color: #fd4747;
}

.media-next-btn:hover {
    background-color: #f39605;
}

.media-title-style {
    color: #fbb03b;
    font-size: 1vw;
    margin: 0;
    margin-left: auto;
    margin-right: auto;
    font-family: Futura-Medium, sans-serif;
    pointer-events: none;
}

.media-gallery-top-btn {
    border: none;
    display: inline-block;
    position: relative;
    height: 2.5vw;
    width: 2.5vw;
    background: none;
    margin: 0;
    color: white;
    padding: 0;
}

.media-gallery-top-btn:hover {
    background-position: center;
    background-color: #66666666;
    border-radius: 10em;
    cursor: pointer;
}

.media-gallery-top-btn-search {
    z-index: 10;
}

.media-menu-btn {
    display: flex;
    width: 100%;
    justify-content: left;
    align-items: center;
    background-color: transparent;
    border: 0;
}

.media-menu-btn:hover {
    background-color: rgba(251, 176, 59, 0.1);
}

.media-menu-btn-selected {
    background-color: rgba(251, 176, 59, 0.1);
}

.media-gallery-next-btn {
    font-size: 1vw;
    font-family: FuturaHeavy, sans-serif;
    border: none;
    border-radius: 2vw;
    float: right;
    background-color: #fbb03b;
    height: 2.5vw;
    width: 8vw;
    transition: background-color 0.3s;
}

.media-gallery-next-btn:hover {
    background-color: #f39605;
}

.media-menu-img {
    width: 1.5vw;
    height: auto;
    margin-right: 1vw;
    filter: grayscale(100%) brightness(50%);
}

.media-menu-btn:hover .media-menu-img {
    filter: grayscale(0%);
}

.media-menu-img-selected {
    filter: grayscale(0%) !important;
}

.media-menu-txt {
    text-align: center;
    color: #666;
    font-size: 1vw;
    font-family: Futura-Medium, sans-serif;
    margin: 0px;
    text-overflow: ellipsis;
    word-break: break-all;
}

.media-menu-txt-selected {
    color: rgba(251, 176, 59);
}

.media-library-menu-txt-selected {
    color: rgba(251, 176, 59) !important;
}

.media-library-menu-txt {
    text-align: left;
    color: #666;
    font-size: 0.8vw;
    font-family: Futura-Medium, sans-serif;
    margin: 0px;
    width: 100%;
    line-height: 0.8vw;
    cursor: pointer;
}

.media-menu-btn:hover .media-library-menu-txt {
    color: rgba(251, 176, 59);
}

.menu-row {
    display: flex;
    justify-content: center;
}

.media-menu-upload-icon {
    width: 1vw;
    margin-right: 0.5vw;
}

.searchFileField {
    width: 90%;
    font-family: Futura-Medium, sans-serif;
    font-size: 0.92vw;
    border: 1px solid #666;
    border-radius: 4px;
    background-color: #202126;
    color: white;
    height: 1.92vw;
    padding: 10px;
}

.media-scroll-container {
    width: 100%;
    height: 70%;
    background-color: #000;
    overflow-y: auto;
    overflow-x: hidden;
}

.media-scroll-container #media-gallery-group-container {
    overflow-x: hidden;
    overflow-y: auto;
}

.media-gallery-empty {
    font-family: Futura-Medium, sans-serif;
    font-size: 1vw;
    color: white;
}

#media-gallery-empty-image-container img {
    display: inline-block;
    position: relative;
    width: 15vw;
    margin: 0;
    padding: 0;
}

#media-gallery-empty-text {
    display: block;
    position: relative;
    border: none;
    width: 100%;
}

.media-logo-img {
    vertical-align: middle;
}

.media-logo-btn {
    padding: 0;
    border: 0;
    border-radius: 0.4vw;
    background-color: #00000000;
    overflow-y: hidden;
}

.media-logo-btn:hover {
    box-shadow: 0 0 0 0.25vw #fbb03b;
    border-style: solid;
    background-color: #fbb03b;
}

.media-logo .media-menu-txt {
    margin-top: 4px;
}

.media-logo-btn:hover + .media-menu-txt {
    color: #fbb03b;
}

.media-logo-btn-selected {
    box-shadow: 0 0 0 0.25vw #fbb03b;
    border-style: solid;
    background-color: #fbb03b;
}

.image-item-wrapper {
    display: flex;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    border-radius: 0.5vw;
}

.image-item-wrapper img {
    width: 16vw;
    border-radius: 0.4vw;
}

.model-image-item-wrapper {
    display: inline-block;
    position: relative;
    border-radius: 0.5vw;
    height: 100%;
}

.check-img {
    width: 1.5vw;
    height: 1.5vw;
    position: absolute;
    top: 0.2vw;
    right: 1.2vw;
}

.selector-tabs {
    display: inline-block;
    position: absolute;
    color: #fff;
    width: 60%;
    height: 5.5vw;
    font-family: FuturaHeavy, sans-serif;
    line-height: 1.4vw;
    top: 0;
    left: 0;
}

.media-category-tab {
    color: #666;
    font-family: FuturaHeavy, sans-serif;
    font-size: 0.8vw;
    cursor: pointer;
}

.media-category-tab:hover {
    color: white;
    border-bottom: 1px solid white;
}

.media-category-tab-selected {
    color: white;
    border-bottom: 1px solid white;
}

.media-category-tab-disabled {
    color: #333;
    pointer-events: none;
}

.media-btn-container {
    display: inline-block;
    position: absolute;
    right: 0.6vw;
    top: 1.3vw;
}

.delete-media-btn,
.search-btn,
.refresh-btn {
    display: inline-block;
    position: relative;
    border: none;
    background-color: transparent;
    height: 3.5vw;
}

.rotate-img {
    transform: rotate(360deg);
    transition: transform 0.5s;
}

.search-input-group {
    width: auto;
}

#search-field {
    background-color: #222;
    color: #fff;
    font-size: 0.8vw;
    border-radius: 2em;
    border: none;
    padding-right: 2.5vw;
    white-space: nowrap;
    text-align: left;
    width: 10vw;
    height: 100%;
    display: block;
    position: absolute;
}

#search-field::-webkit-input-placeholder {
    color: #999;
}

#delete-media-image {
    background-image: url(../../../images/media_library/Btn_Delete.svg);
    width: 2.5vw;
    height: 2.5vw;
    background-position: center;
}

#search-media-image {
    background-image: url(../../../images/media_library/Btn_Search.svg);
    width: 2.5vw;
    height: 2.5vw;
    background-position: center;
}

.search-media-image-cancel {
    background-image: url(../../../images/media_library/Btn_Close.svg) !important;
}

#refresh-media-image {
    background-image: url(../../../images/media_library/Btn_Refresh.svg);
    width: 2.5vw;
    height: 2.5vw;
    background-position: center;
}

#close-media-library-image {
    background-image: url(../../../images/media_library/Btn_Close.svg);
    width: 2.5vw;
    height: 2.5vw;
    background-position: center;
}

.upload-list-container {
    display: inline-block;
    position: absolute;
    width: 120%;
    top: 120%;
    left: -10%;
    background: #202126;
    padding: 1vw;
    z-index: 2;
}

.upload-list-header {
    display: inline-block;
    position: relative;
    width: 100%;
    font-size: 1.2vw;
    line-height: 2vw;
    color: #fff;
}

.upload-list-item {
    display: inline-block;
    position: relative;
    color: #666;
    text-align: start;
    height: 2vw;
    width: 100%;
}

.upload-item-name {
    display: inline-block;
    position: relative;
    font-size: 1.2vw;
    line-height: 2vw;
    color: #666;
    width: 55%;
    height: 2vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.upload-progress-circle {
    width: 20%;
    display: inline-block;
    position: relative;
    text-align: center;
    line-height: 2vw;
    float: right;
}

.cancel-upload-btn {
    display: inline-block;
    position: relative;
}

.cancel-upload-btn img {
    width: 100%;
    height: 100%;
    vertical-align: text-top;
    background-color: #000;
    border-radius: 50%;
}

.upload-btn {
    background: transparent;
    border: 0.15rem solid #fbb03b;
    border-radius: 2rem;
    font-family: FuturaHeavy, sans-serif;
    height: 2.0vw;
}

.upload-btn svg {
    color: #FBB30B;
    width: 1.5vw;
    height: 1.5vw;
    margin-top: 0.25vw;
    float: left;
}

.upload-btn:hover {
    background: rgb(251, 176, 59, 0.2);
}

.upload-img {
    margin-right: 20px;
}

.upload-txt {
    color: #fbb03b;
    font-size: 0.8vw;
    font-family: Futura-Medium, sans-serif;
    white-space: nowrap;
}

.media-bottom-ui-wrapper {
    float: right;
}

#media-bottom-item-selected-text {
    display: inline-block;
    position: relative;
    color: #666;
    font-size: 0.8vw;
    font-family: Futura-Medium, sans-serif;
    line-height: 2vw;
    margin-top: 0.2vw;
    margin-right: 1vw;
    vertical-align: text-top;
}

/* Upload container */
.upload-dlg {
    background: #202126 0% 0% no-repeat padding-box;
    border-radius: 8px;
    display: inline-block;
    position: relative;
    left: 4vw;
    bottom: 4.9vw;
    min-width: 20vw;
    max-width: 30vw;
}

.upload-progress-bar {
    background-color: #fbb03b !important;
    font-size: 0.8vw;
}

.upload-progress-bar-complete {
    background-color: #28a745 !important;
}

.upload-title-container {
    display: flex;
    margin-bottom: 7%;
}

.upload-title-txt {
    font-family: Futura-Medium, sans-serif;
    font-size: 1vw;
    color: white;
    margin-right: auto;
}

.upload-close-btn {
    border: 0px;
    background: transparent;
}

.fa-times-thin:before {
    content: '\00d7';
}

.fa-ellipsis-v-thin:before {
    content: '\22EE';
}

#upload-status-text {
    color: #fbb03b;
}

.upload-click-btn {
    display: flex;
    width: 100%;
    height: 5vw;
    justify-content: center;
    align-items: center;
    background: #202126 0% 0% no-repeat padding-box;
    border: 1px solid #fbb03b;
    border-radius: 7px;
    outline: none;
}

.upload-content-txt {
    color: #fbb03b;
    font-family: Futura-Medium, sans-serif;
    font-size: 0.8vw;
    margin-bottom: 0px;
}

/* list view css */
#media-container-group--1-listview {
    display: inline-block;
    position: relative;
    width: 100%;
}

.list-header {
    width: 100%;
    border-bottom-style: solid;
    border-bottom-color: #666;
    border-bottom-width: 0.1vw;
    color: white;
}

.list-header-name,
.list-date,
.list-owner,
.list-file-size {
    font-size: 1vw;
    text-align: start;
    padding: 1vw 1vw 0.5vw 1vw;
    font-family: Futura-Medium, sans-serif;
    overflow-x: hidden;
    text-overflow: ellipsis;
}

.list-header-name {
    display: inline-block;
    position: relative;
    width: 30%;
}

.list-date {
    display: inline-block;
    position: relative;
    width: 25%;
}

.list-owner {
    display: inline-block;
    position: relative;
    width: 20%;
}

.list-file-size {
    display: inline-block;
    position: relative;
    width: 20%;
}

.media-list-item {
    display: inline-block;
    position: relative;
    width: 100%;
    height: 20%;
}


.media-list-item-selected {
    background-color: rgba(251, 176, 59, 0.1);
}

.media-list-btn {
    width: 100%;
    background: transparent;
    border: none;
    vertical-align: middle;
    color: #666;
}

.media-list-btn-selected {
    color: rgba(251, 176, 59);
}

.media-list-btn:hover {
    background-color: rgba(251, 176, 59, 0.1);
}

.media-list-btn:hover div {
    color: rgba(251, 176, 59);
}

.redirect-btn {
    width: 2.0vw;
    height: 2.0vw;
    background-color: transparent;
    border: none;
}

.redirect-btn:hover img {
    filter: brightness(300%);
}

.redirect-btn:hover + .description-text {
    color: #eee;
}

.description-text-hover {
    color: #eee;
}

/*mobile css*/
@media only screen and (max-width:321px) {
    .media-title-container {
        padding-bottom: 0%;
    }

    #images-tab,
    #video-tab,
    #model-tab {
        margin-right: 0%;
    }

    .close-btn {
        right: 0;
    }
}

#sort-by-desc-btn img {
    transform: rotate(180deg);
}
