@import url('https://fonts.googleapis.com/css?family=Raleway:100,300,400,500,700,900&display=swap');
* {
    font-family: 'Raleway';
    margin: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.toolbar-top {
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    background: #393c3f;
    color: #fff;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: left;
    padding: 15px;
}

.pam-functionalities {
    display: flex;
    justify-content: center;
    align-content: center;
    background: #eff0f4;
    color: #333;
    border: none;
    padding: 10px;
    margin: 0 4px;
    cursor: pointer;
    outline: none;
    border-radius: 1px;
}

.icon {
    align-self: center;
}

.container-text-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 0;
}

.inactive-comments {
    display: none!important;
}

.sl-nav {
    font-size: 15px;
    float: right;
    margin-right: 5px;
    margin-left: 5px;
    background-color: #484b4e;
    color: #fff;
    outline: none;
    border-radius: 3px;
    width: 35px;
    height: 35px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.sl-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
    display: inline-block;
    font-size: 20px
}

.sl-nav li {
    cursor: pointer;
    font-size: 13px;
    display: flex;
}

.sl-nav li.user {
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sl-nav li ul {
    display: none
}

.sl-nav li:hover ul {
    position: absolute;
    top: 21px;
    left: 7px;
    border-radius: 0;
    display: block;
    background: #fff;
    padding: 5px 6px;
    z-index: 1;
    box-shadow: 0 0 20px rgba(0, 0, 0, .2);
}

.sl-nav li:hover .triangle {
    position: absolute;
    top: 8px;
    right: -11px;
    z-index: 10;
    height: 14px;
    overflow: hidden;
    width: 30px;
    background: transparent;
}

.sl-nav li .fa.fa-angle-right {
    transition: transform .1s ease-in-out;
    margin-left: 5px;
}

.sl-nav li:hover .fa.fa-angle-right {
    transform: rotate(90deg)
}

.sl-nav li.user:hover .triangle {
    top: 20px;
    right: 10px
}

.sl-nav li.user:hover .triangle:after {
    box-shadow: none
}

.sl-nav li:hover .triangle:after {
    content: '';
    display: block;
    z-index: 20;
    width: 9px;
    transform: rotate(45deg) translateY(0) translatex(10px);
    height: 15px;
    background: #fff;
    border-radius: 2px 0 0 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, .2);
}

.sl-nav li ul li {
    position: relative;
    text-align: left;
    background: transparent;
    padding-bottom: 0;
    z-index: 2;
    font-size: 15px;
    color: #3d3d3d;
    border-bottom: 1px solid #ddd;
    padding: 7px 2px;
}

.sl-nav li ul li:last-of-type {
    border-bottom: none
}

.sl-nav li ul li:hover {
    background-color: #eff0f4
}

.sl-nav li ul li a {
    color: #3d3d3d;
    text-decoration: none;
}

.sl-nav li ul li:last-of-type {
    padding-bottom: 5px;
}

.sl-nav li ul li span {
    padding-left: 5px
}

.text-uppercase {
    text-transform: uppercase;
}


/* .card-content {
padding-top: 10px;
} */

.contain-comments {
    position: relative;
}

.form-comments {
    position: absolute;
    top: 30px;
    left: -113px;
    z-index: 9;
}

.form-comments::before {
    content: "";
    position: absolute;
    top: -10px;
    right: 5px;
    filter: drop-shadow(2px 4px 5px #bebaba);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 20px 10px;
    border-color: transparent transparent #f6f5f5 transparent;
}

.form-comments textarea {
    position: relative;
    border-radius: 5px;
    width: 140px;
    background-color: #f6f5f5;
    border: none;
    resize: none;
    outline: none;
    padding: 5px;
    color: #333;
    box-shadow: 15px 12px 20px -10px #bebaba;
}

.form-comments-preview {
    display: flex;
    justify-content: center;
    position: relative;
    width: 100%;
}

.form-comments-preview textarea {
    position: relative;
    border-radius: 5px;
    width: 140px;
    margin-top: -3px;
    background-color: #f6f5f5;
    border: none;
    resize: none;
    outline: none;
    padding: 5px;
    color: #333;
    box-shadow: 15px 12px 20px -10px #bebaba;
}

.form-comments-preview::before {
    content: "";
    position: absolute;
    top: -15px;
    right: calc(50% + 10px);
    filter: drop-shadow(2px 4px 5px #bebaba);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 20px 10px;
    border-color: transparent transparent #f6f5f5 transparent;
}

.container-information {
    /* margin-left: 10%;
width: 80%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-top: 25px;
margin-bottom: 10px; */
}


/*Popover*/

.popover-big-container {
    position: relative;
    width: fit-content;
}

.popover {
    position: absolute;
    min-width: 290px;
    padding: 10px;
    visibility: hidden;
    opacity: 0;
    background: #fff;
    font-size: 12px;
    transition: all 0.25s cubic-bezier(0, 0, 0.2, 1);
    color: #484848;
    border: 1px solid #cecece;
    border-radius: 3px;
    font-weight: 500;
    box-shadow: 0px 0px 9px #48474794;
    top: calc(100% + 1em);
    left: 50%;
    transform: translate3d(-10%, -15px, 0);
    z-index: 98;
}

.content-popover p {
    padding-bottom: 10px;
}

.content-popover p * {
    vertical-align: middle;
}

.collection-icons {
    font-size: 18px;
    padding-right: 2px;
}

.info-details {
    margin-left: 5px;
}

.popover:after {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    top: -0.5em;
    left: 9%;
    transform: translate3d(-50%, 0, 0);
    border-width: 0 0.5em 0.5em 0.5em;
    border-color: transparent transparent #fff transparent;
    /* -webkit-filter: drop-shadow(1px 2px 1px #bcbcbc); */
    /* filter: drop-shadow(1px -1px 1px #bcbcbc); */
}

.popover-opened {
    transform: translate3d(-10%, 0, 0);
    visibility: visible;
    opacity: 1;
}

.content-popover {
    display: flex;
    flex-direction: column;
    max-height: 200px;
    overflow: auto;
}

.content-popover-tag {
    display: flex;
    flex-wrap: wrap;
    max-height: 100px;
    overflow: auto;
}

.span-collection {
    display: flex;
    align-items: center;
    justify-content: left;
}

.img {
    border-radius: 50%;
    border: 10px solid #f2f4ff;
    width: 80px;
}

#upload-icon {
    font-size: 80px;
    margin-top: 20px;
}

.collections-list {
    height: 80px;
}

input[type='radio'][name^='rating_'],
input[type='radio'][name^='rating_preview_'] {
    display: none;
}

input[type='radio'][name^='rating']:checked~i,
input[type='radio'][name^='rating_preview_']:checked~i {
    font-weight: 900!important;
}


/*
PARTE CARDS
*/

.cards-container {
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    transition: width .5s ease;
    width: 90%;
}

.asset-card {
    height: 355px;
    width: 320px;
    box-shadow: 2px 2px 2px #7777774f, -2px -2px 2px #7777774f;
    margin: 10px;
}

.card-tags {
    padding: 5px;
    margin-top: 0;
    padding-bottom: 5px;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.card-tags .tag {
    font-size: 10px;
    margin: 2px;
    padding: 2px 5px;
}


/* .card-content h3 {
padding: 5px 7px;
font-size: 15px;
} */

.data-container {
    padding-left: 7px;
    font-size: 14px;
    overflow: hidden;
    max-height: 30px;
}

#nodata {
    max-width: 55px;
    margin: 10px auto;
    display: block;
}

.action-card .actions button {
    background-color: #eee;
    border: none;
    padding: 7px 10px;
    outline: none;
    cursor: pointer;
}

.more i {
    font-size: 15px;
    align-self: center;
    margin-left: 5px;
    display: inline-block;
    padding-top: 3px;
}


/*Azioni card*/


/* .card-actions i:last-of-type {
border-right: none;
}

.card-actions {
top: 27px!important;
} */

.action-card {
    height: 40px;
    padding: 0 10px 10px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.action-card .actions button {
    background-color: #eee;
    border: none;
    padding: 7px 10px;
    outline: none;
    cursor: pointer;
}

.action-card .icons i {
    font-size: 17px;
    margin-left: 3px;
    cursor: pointer;
    padding: 7px;
    border-radius: 50%;
    color: #444;
}

.action-card .icons i:hover {
    background-color: #eee;
}

.img-card {
    height: 190px;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 10px;
    background-color: #f5f5f5;
}

.img-card img {
    object-fit: contain;
    max-height: 100%;
    align-self: center;
    max-width: 100%;
    position: relative;
}


/*Modale per metadata*/
.container-number-collection {
    position: relative;
}

.icon-folder {
    vertical-align: middle;
}

.point {
    border: 2px solid white;
    border-radius: 100%;
    display: inline-block;
    width: 10px;
    height: 10px;
    line-height: 10px;
    text-align: center;
    position: relative;
    top: -9px;
    left: -13px;
    font-size: 9px;
    background-color: #fff;
    color: #393c3f;
}

.no-shadow {
    transform: scale(0.7);
    box-shadow: none!important;
}

.dz-preview,
.dz-file-preview {
    display: none;
}

.container-loader {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #f6f6f687;
    z-index: 999999999999999;
    box-shadow: 1px 1px 9px #f6f6f6;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-loader.hidden {
    display: none;
}

img:not([src])[data-ll-status='observed']+.loader,.container-loader .loader {
    border: 5px solid grey;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    align-self: center;
    position: absolute;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


.commented {
    font-weight: 900!important;
}

.container-no-result {
    position: absolute;
    display: flex;
    flex-direction: column;
    height: 80vh;
    justify-content: space-around;
    margin: auto;
    align-items: center;
}

/*Modale per metadata*/

.modalDownloadType {
    /*position: relative;*/
    align-self: center;
    width: 0;
    z-index: 10000;
    background: #FFF;
    border-radius: 6px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    margin: 0 auto;
    padding: 50px 45px 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.overlayDownloadType {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 100%;
    z-index: 999;
    justify-content: center;
    display: none;
}

.closeDownloadType {
    position: absolute;
    top: -8px;
    right: -9px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    text-align: center;
    justify-content: center;
    font-weight: bolder;
    font-size: 12px;
    align-items: center;
    box-shadow: 1px 2px 12px #3333338f;
    cursor: pointer;
    color: #333;
}

.modalDownloadType img {
    padding: 8px;
    border-radius: 2px;
    /* max-width: 80%; */
    max-height: 80%;
    display: block;
    width: 100%;
    margin: auto;
    object-fit: contain;
    height: 180px;
}

.downloadTypeCardContainer {
    display:flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    overflow-y: auto;
    max-height: 562px;
    margin-top: 20px;
}

.downloadTypeCardContainer span {
    font-size: 10px;
}

.downloadTypeCardContainer > div {
    height: auto;
    width: 180px;
    padding-bottom: 9px;
}

/* Stile generale dei tooltip*/

[tooltip] {
    position: relative;
}

[tooltip]::before,
[tooltip]::after {
    text-transform: none;
    font-size: 11px;
    line-height: 1;
    user-select: none;
    pointer-events: none;
    position: absolute;
    display: none;
    opacity: 0;
}

[tooltip]::before {
    content: '';
    border: 5px solid transparent;
    z-index: 1001;
}

[tooltip]::after {
    content: attr(tooltip);
    font-family: Raleway, sans-serif;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 5px 10px;
    box-shadow: 0 1em 2em -0.5em rgba(0, 0, 0, 0.35);
    background: #393c3f;
    color: #fff;
    z-index: 99;
    font-size: 11px;
    border-radius: 10px;
}

[tooltip]:hover::before,
[tooltip]:hover::after {
    display: block;
}


/* Non mostra tooltip vuoto */

[tooltip='']::before,
[tooltip='']::after {
    display: none !important;
}


/* FLOW: UP */

[tooltip]:not([flow])::before,
[tooltip][flow^="up"]::before {
    bottom: 100%;
    border-bottom-width: 0;
    border-top-color: #333;
}

[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::after {
    bottom: calc(100% + 5px);
}

[tooltip]:not([flow])::before,
[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::before,
[tooltip][flow^="up"]::after {
    left: 50%;
    transform: translate(-50%, -.5em);
}


/* FLOW: DOWN */

[tooltip][flow^="down"]::before {
    top: 100%;
    border-top-width: 0;
    border-bottom-color: #333;
}

[tooltip][flow^="down"]::after {
    top: calc(100% + 5px);
}

[tooltip][flow^="down"]::before,
[tooltip][flow^="down"]::after {
    left: 50%;
    transform: translate(-50%, .5em);
}


/* FLOW: LEFT */

[tooltip][flow^="left"]::before {
    top: 50%;
    border-right-width: 0;
    border-left-color: #333;
    left: calc(0em - 5px);
    transform: translate(-.5em, -50%);
}

[tooltip][flow^="left"]::after {
    top: 50%;
    right: calc(100% + 5px);
    transform: translate(-.5em, -50%);
}


/* FLOW: RIGHT */

[tooltip][flow^="right"]::before {
    top: 50%;
    border-left-width: 0;
    border-right-color: #393c3f;
    right: calc(0em - 3px);
    transform: translate(.5em, -50%);
}

[tooltip][flow^="right"]::after {
    top: 50%;
    left: calc(100% + 1px);
    transform: translate(.5em, -50%);
}


/* KEYFRAMES */

@keyframes tooltips-vert {
    to {
        opacity: .9;
        transform: translate(-50%, 0);
    }
}

@keyframes tooltips-horz {
    to {
        opacity: .9;
        transform: translate(0, -50%);
    }
}


/* Animazione per tutti */

[tooltip]:not([flow]):hover::before,
[tooltip]:not([flow]):hover::after,
[tooltip][flow^="up"]:hover::before,
[tooltip][flow^="up"]:hover::after,
[tooltip][flow^="down"]:hover::before,
[tooltip][flow^="down"]:hover::after {
    animation: tooltips-vert 300ms ease-out forwards;
}

[tooltip][flow^="left"]:hover::before,
[tooltip][flow^="left"]:hover::after,
[tooltip][flow^="right"]:hover::before,
[tooltip][flow^="right"]:hover::after {
    animation: tooltips-horz 300ms ease-out forwards;
}

.message-container {
    display: flex;
    justify-content: space-around;
    margin-left: 10px;
    text-align: left;
    font-size: 10px;
    align-items: baseline;
}

.message-container span {
    padding-left: 5px
}

.filename-swal {
    font-size: 14px;
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    width: 95%;
    margin: auto;
}


/* immagine */

.asset-card {
    height: 325px;
    width: 300px;
    /* box-shadow: 2px 2px 2px #7777774f, -2px -2px 2px #7777774f; */
    box-shadow: 2px 2px 15px -9px #77777738, -2px -2px 7px #77777738;
    margin: 10px;
}

.img-card {
    height: 190px;
    width: 100%;
    display: flex;
    padding: 10px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #eff0f4;
}

#audio-player {
    position:relative;
    width:270px;
    overflow: hidden;
    direction: ltr;
    border-top-right-radius: 18em 18em;
    border-bottom-right-radius: 18em 18em;
}
audio {
    height: 24px;
}
audio::-webkit-media-controls-panel {
    background-color: #eee;
}

.img-card img {
    object-fit: contain;
    max-height: 100%;
    align-self: center;
    max-width: 100%;
    position: relative;
}


/*Contenitore dei contenuti*/

.content-card {
    margin: 10px;
    height: 75px;
    border-bottom: 1px solid #e5e5e5;
}


/* tag */

.card-tags {
    padding: 5px 0;
    margin-top: 0;
    padding-bottom: 5px;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.tag {
    white-space: nowrap;
    display: inline-block;
    margin-right: 5px;
    padding: 2px 5px;
    font-size: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    color: #777777;
    align-self: center;
    cursor: default;
}


/* Titolo e path */

.card-title {
    color: #393c3f;
    font-size: 20px;
}

.card-title::first-letter {
    text-transform: capitalize;
}

.path {
    font-size: 12px;
    padding: 5px 0;
}


/* Azioni varie della card*/

.action-card {
    height: 40px;
    padding: 0 10px 10px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.action-card .actions button {
    background-color: #eee;
    border: none;
    padding: 7px 10px;
    outline: none;
    cursor: pointer;
}

.action-card .icons i {
    font-size: 17px;
    margin-left: 3px;
    cursor: pointer;
    padding: 7px;
    border-radius: 50%;
    color: #444;
}

.action-card .icons i:hover {
    background-color: #eee;
}


/* Selezione della card */

.selected-card {
    border: 2px solid #444;
    box-shadow: none;
    position: relative;
}

.selected-card::after {
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #444;
    top: 4px;
    right: 4px;
}

.icons {
    display: flex;
}

.card-upload {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-actions {
    display: flex;
    width: 100%;
    justify-content: center;
}

.modal-actions * {
    margin: 5px;
    font-size: 17px;
    margin-left: 3px;
    cursor: pointer;
    padding: 7px;
    /*border-radius: 50%;*/
    color: #444;
}

.modal-actions i:hover {
    background-color: #eee;
}

.contain-img-modal {
    display: flex;
    min-height: 200px;
    min-width: 80%;
    align-items: center;
    justify-content: center;
}

#swal2-content ul {
    height: 482px;
    overflow-y: auto;
    overflow-x: hidden;
}


/*Share pam*/

.hero-new-share {
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    height: 300px;
    width: calc(100% - 40px);
    margin: 20px auto;
    display: flex;
    align-items: center;
    position: relative;
    max-width: 1280px;
    border-radius: 10px 10px 0px 0;
    box-shadow: 1px 2px 3px #50494921;
    color: #fff;
    text-shadow: 0px 2px 5px #5c5c5c;
    background-color: rgb(77 139 197 / 40%);
}

.hero-new-share .img-default {
    position: absolute;
    width: 100%;
    z-index: -1;
    height: 100%;
    object-fit: contain;
}

.hero-new-share-inner {
    margin-left: 80px;
}

.hero-new-share-inner-row {
    padding: 15px 25px 15px 0;
}

h1.hero-new-share-inner-row {
    font-size: 40px;
    overflow-wrap: break-word;
    word-break: break-word;
}

p.hero-new-share-inner-row {
    font-size: 17px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    max-height: 140px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}

p.hero-new-share-inner-row.text {
    font-size: 19px;
}

.hero-new-share-inner-row.icon-container {
    display: flex;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% - 40px);
    max-width: 1280px;
    margin: auto;
    position: relative;
    padding-bottom: 100px;
    min-height: calc(100vh - 80px);
}

.toolbar-top {
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    background: transparent;
    color: #fff;
    height: 70px;
    display: flex;
    align-items: center;
    padding: 10px 0;
    margin: 15px auto;
    max-width: 1280px;
    width: calc(100% - 40px);
    border-top: 2px solid #ddd;
}

.sl-nav {
    font-size: 15px;
    float: left;
    background-color: #eff0f4;
    color: #333;
    outline: none;
    border-radius: 0;
    height: 40px;
    display: table;
    padding: 14px 8px;
}

.temporary-logo {
    height: calc(100vh - 337px);
    position: absolute;
    display: flex;
    top: 337px;
    width: 100%;
    justify-content: center;
    align-items: center;
    background: #fff;
    z-index: 99;
}

.no-desc {
    display: flex;
    flex-direction: column;
    width: calc(100% - 404px);
    text-align: center;
    justify-content: center;
}

.no-desc h1 {
    font-size: 65px;
    padding: 0;
    overflow-wrap: break-word;
}

.no-desc .icon-container {
    justify-content: center;
}

.hero-new-share.hero-no-desc {
    height: 225px;
}

.name-thumbnail-modal {
    color: #333;
}

.tags-big-cont {
    width: calc(100% - 40px);
    margin: auto;
    margin-bottom: 36px;
    max-width: 1280px;
}

#filter-tag {
    width: 80%;
    padding: 6px;
    margin: 15px;
}

@media screen and (max-width:945px) {
    .no-desc h1 {
        font-size: 40px;
    }
    .hero-new-share-inner {
        margin-left: 255px;
    }
}

@media screen and (max-width:742px) {
    .no-desc h1 {
        font-size: 30px;
    }
    .hero-new-share-inner {
        margin-left: 300px;
    }
}

@media screen and (max-width:697px) {
    .pam-container.cards-container {
        justify-content: center;
    }
    .asset-card {
        width: 325px;
    }
    .hero-new-share {
        background-position: center;
    }
    .hero-new-share-inner {
        margin-left: 135px;
    }
    .no-desc {
        width: calc(100% - 235px);
    }
}

@media screen and (max-width:485px) {
    .hero-new-share-inner {
        margin-left: 20px;
    }
    .no-desc {
        width: 100%;
    }

    h1.hero-new-share-inner-row {
        font-size: 35px;
    }
}