/* DEFAULTS ******************/
* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
    -webkit-touch-callout: none !important; /* iOS Safari */
    -webkit-user-select: none !important; /* Safari */
    -khtml-user-select: none !important; /* Konqueror HTML */
    -moz-user-select: none !important; /* Firefox */
    -ms-user-select: none !important; /* Internet Explorer/Edge */
    user-select: none !important;
    text-outline: none !important;
    outline-width: 0 !important;

    font-family: 'Roboto', sans-serif;
}

input, textarea {
    -webkit-user-select: text !important;
    -khtml-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

html, body {
    height: 100%;
    width: 100%;
    /*min-width: 320px;*/
}

body,
html {
    background: #232C34;
    color: white;
    font-size: 1rem;
    min-height: 100%;
}

.containers {
    background: #232C34 url("/assets/webapp/images/main-background.svg") no-repeat center center fixed;
    background-size: cover;
    background-clip: border-box;
    min-height: 100%;
}

.alert-fixed-top {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 9999;
    border-radius: 0px
}

.containers.no-background {
    background: #232C34;
}

.mw-100 {
    width: 100%;
}

a {
    color: #E72264;
}

a:hover {
    color: #E72264;
}

a:active {
    color: #E72264;
    opacity: 0.5;
    text-decoration: none;
}

.invalid-feedback {
    color: #ffa3a0;
}

.text-shadow {
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 1);
}

.cursor {
    cursor: pointer;
}

.navbar-brand {
    padding: 7px 15px !important;
}

.search-bar {
    border: 0;
    border-radius: 15px;
    width: 32vw;
    min-width: 180px;
    height: 35px;
    padding: 5px 15px;
    font-size: 14px;
    background-color: #323b42;
    color: white;
    text-overflow: ellipsis;
}


/* COLORS *********************/
.color-default {
    color: #232C34;
}

.background-default {
    background-color: #232C34;
}

.primary {
    color: #E72264;
}

.background-primary {
    background-color: #E72264;
}


/* FORMS *********************/
.form-group .label {
    float: left;
    margin-bottom: 0;
}


/* BUTTONS ********************/
.button-default {
    background-color: #313B41;
    border: none;
    color: white;
    border-radius: 30px;
    padding: 20px 35px;
    font-size: 1rem;
    text-transform: uppercase;
}

.button-default:active {
    opacity: 0.5;
}

.button-blue {
    background-color: #3B5998;
}

.button-primary {
    background-color: #E72264;
}

/******************************/

nav {
    /*min-width: 320px;*/
}

.navbar i {
    color: #E72264;
}


/* ---------------------------------------------------
    NEW SONGS LIST
----------------------------------------------------- */
.news-list {
    min-width: 200px;
    margin-left: -2px !important;
    margin-right: -2px !important;
}

.news-list > div.item {
    /*flex: 0 1 calc(50% - 4px);*/
    border: 2px solid #232C34;
    /*margin: 2px 2px;*/
    background-color: #2c333b;
    padding: 6px;
    cursor: pointer;
}

.news-list div.item div.song-name {
    font-size: 0.8rem;
    font-weight: 300 !important;
    line-height: 15px;
}

.news-list div.item div.artist-name {
    opacity: 0.6;
    margin-top: 3px;
    font-size: 0.7rem;
}

.news-list div.item div.time {
    opacity: 0.6;
    font-weight: 100;
    margin-right: 10px;
    font-size: 1.1rem;
}

.news-list div.item img {
    width: 50px;
    margin-right: 10px;
}


/* ---------------------------------------------------
    DEFAULT LIST
----------------------------------------------------- */
.list-items {
    min-width: 200px;
    margin-left: -2px !important;
    margin-right: -2px !important;
}

.list-items > div.item {
    width: 100%;
    border: 2px solid #232C34;
    background-color: #2c333b;
    padding: 6px;
    cursor: pointer;
}

.list-items div.item img {
    width: 50px;
    margin-right: 10px;
}

.list-items > div.item > div > i {
    width: 50px;
    text-align: center;
}

.list-items div.item div.item-title {
    font-size: 0.9rem;
    font-weight: 300 !important;
    line-height: 15px;
}

.list-items div.item div.item-subtitle {
    opacity: 0.6;
    margin-top: 3px;
    font-size: 0.7rem;
}

.list-items div.item div.played {
    text-align: center;
    border-right: 1px dashed #E72264;
    background-color: rgba(0, 0, 0, 0.05);
}

.list-items div.item div.played,
.list-items div.item div.legend {
    opacity: 0.6;
    font-weight: 300;
    font-size: 0.9rem;
    text-align: center;
    line-height: 1rem;
    padding: 10px;
}

.list-items div.item div.played span,
.list-items div.item div.legend span {
    display: block;
    font-size: 0.7rem;
    font-weight: 100;

}


/* ---------------------------------------------------
    GENRE THUMB
----------------------------------------------------- */
.genres-grid {
    display: grid; /* 1 */
    grid-template-columns: repeat(auto-fill, 31%); /* 2 */
    grid-gap: 10px; /* 3 */
    justify-content: space-between; /* 4 */
}

.genre-thumb {
    cursor: pointer;
}

.genre-thumb .genre-thumb-container {
    font-weight: 300;
    text-align: center;
    border-radius: 5px;
    height: 100%;
    background: rgba(12, 14, 16, 0.7) no-repeat center center;
    background-size: cover;
    padding-top: 100%;
    position: relative;
    box-shadow: 0px 0px 5px rgba(12, 14, 16, 0.7);
}

.genre-thumb .genre-thumb-container .thumb-text {
    text-align: center;
    position: absolute;
    bottom: 8%;
    width: 100%;
    font-size: 14px;
    font-weight: 400;
}


/* ---------------------------------------------------
    PLAYLISTS THUMBS
----------------------------------------------------- */
.playlists-grid {
    display: grid; /* 1 */
    grid-template-columns: repeat(auto-fill, 47%); /* 2 */
    grid-gap: 1rem; /* 3 */
    justify-content: space-between; /* 4 */
}

.playlists-grid .genre-thumb .genre-thumb-container {
    padding-top: 60%;
    height: 60%;
}


/* ---------------------------------------------------
    ARTIST THUMB
----------------------------------------------------- */
.artists-grid {
    display: grid; /* 1 */
    grid-template-columns: repeat(auto-fill, 32%); /* 2 */
    grid-row-gap: 3rem; /* 3 */
    justify-content: space-between; /* 4 */
}

.artist-thumb {
    cursor: pointer;
}

.artist-thumb .artist-thumb-container {
    text-align: center;
    border-radius: 50%;
    height: 100%;
    padding-top: 100%;
    background: rgba(12, 14, 16, 0.7) no-repeat center center;
    background-size: cover;
    position: relative;
}

.artist-thumb .artist-thumb-container .thumb-text {
    text-align: center;
    position: absolute;
    bottom: -25px;
    width: 100%;
    font-size: 13px;
    font-weight: 400;
    line-height: 14px;
}


/* ---------------------------------------------------
    GENRE THUMB
----------------------------------------------------- */
.coverart {
    height: 100%;
    /*padding-top: 20%;*/
    background: #0c0e10 no-repeat center center;
    background-size: cover;
    position: relative;
    margin: 0px -25px;
    padding-left: 10px;
    min-height: 150px;
}

.coverart.taller {
    min-height: 200px;
    background-position: center bottom;
}

.coverart-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0px 20px 10px 15px;
    z-index: 10;
}


/* ---------------------------------------------------
    GROUPLISTS STYLE
----------------------------------------------------- */
.playlists {
    margin: 0;
}

.playlists > div {
    border-bottom: 1px solid #545454;
}

.playlists .image img {
    width: 90px;
    height: 90px;
    margin-right: 10px;
}

.playlists .title {
    font-size: 1.1rem;
    margin: 0 0 2px 0;
    padding: 0;
}

.playlists .description {
    opacity: 0.5;
}

.playlists .description,
.playlists .brief,
.playlists .labels {
    font-size: 0.7rem;
}

.playlists .labels .label {
    text-transform: lowercase;
    padding: 0 5px;
    margin: 5px 3px 0 0;
    white-space: nowrap;
    display: inline-block;
}


/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */
#sidebarCollapse:hover {
    opacity: 0.8;
}

#sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    left: -250px;
    height: 100vh;
    z-index: 9999 !important;
    background: rgb(35, 44, 52);
    background: linear-gradient(-35deg, rgba(0, 0, 0, 0.8) 35%, rgba(35, 44, 52, 1) 80%);
    color: #fff;
    transition: all 0.3s;
    overflow-y: scroll;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}

#sidebar.active {
    left: 0;
}

#dismiss {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#dismiss:hover {
    background: #fff;
    color: black;
}

.overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.overlay.active {
    display: block;
    opacity: 1;
}

#sidebar .sidebar-header {
    padding: 20px 0 0 15px;
    /* background: #E72264; */
}

#sidebar .welcome {
    font-size: 1.5rem;
    font-weight: 300;
    margin: 20px 0 15px 15px;
}

#sidebar ul.components {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 15px;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px 10px 10px 15px;
    font-size: 1.1em;
    display: block;
    color: white;
}

#sidebar ul li a:hover {
    background: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    color: #E72264;
}

#sidebar ul li a i {
    padding-right: 15px;
}

#sidebar ul li.active > a,
a[aria-expanded="true"] {
    color: #fff;
    background: #E72264;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.card.step{
    border: none;
    background-color: #2b333b;
    text-align: center;
    padding: 0 10px 20px 10px;
    margin: 0px auto;
    max-width: 500px;
    border-radius: 25px;
}

.card.step .title{
    padding: 20px 20px;
    align-self: center;
    font-weight: bold;
}

div.error{
    color: #da4149;
}

.callDown{
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 40px;
    border: none;
    margin: 0px auto;
    align-self: center;
    background-color: #2b333b;
    padding: 0;
}

.callDown i{
    opacity: .5;
}

.card.step .title.smaller{
    font-size: 20px;
    width: 100%;
}

.dots{
    text-align: center;
    background-image: radial-gradient(#4b5867 40%, #232C34 20%);
    background-repeat: repeat-y;
    background-size: 5px 5px;
    background-position: top center;
    padding: 30px 0;
}

.card.step .btn{
    margin: 4px 2px;
}

.card.step .btn.active{
    background-color: #991742;
}

@media (min-width: 322px) {
    .search-bar{
        min-width: 230px;
    }
}

/* Dispositivos small (telefones em modo paisagem, com 576px ou mais) */
@media (min-width: 576px) {
    .genre-thumb {
        margin-bottom: 25px;
    }

    .genre-thumb .genre-thumb-container .thumb-text {
        font-size: 18px;
        bottom: 8%;
    }

    .news-list div.item div.song-name {
        font-size: 1rem;
        line-height: 19px;
    }

    .news-list div.item div.artist-name {
        font-size: 0.9rem;
    }

    .news-list div.item div.time {
        font-size: 1.1rem;
    }

    .artists-grid {
        grid-template-columns: repeat(auto-fill, 24%);
        grid-row-gap: 3rem;
    }
}

/* Dispositivos médios (tablets com 768px ou mais) */
@media (min-width: 768px) {
    .search-bar{
        min-width: 320px;
    }

    .mw-100 {
        width: 80% !important;
    }

    .genres-grid {
        grid-template-columns: repeat(auto-fill, 22%);
    }

    .genre-thumb .genre-thumb-container .thumb-text {
        font-size: 18px;
        bottom: 10%;
    }

    .playlists-grid {
        grid-template-columns: repeat(auto-fill, 30%);
    }

    .artists-grid {
        grid-template-columns: repeat(auto-fill, 18%);
        grid-row-gap: 3.5rem;
    }

    .artist-thumb .artist-thumb-container .thumb-text {
        font-size: 18px;
        bottom: -30px;
        line-height: 18px;
    }
}

/* Dispositivos large (desktops com 992px ou mais) */
@media (min-width: 992px) {

    .mw-100 {
        width: 60% !important;
    }

    .genres-grid {
        grid-template-columns: repeat(auto-fill, 15%);
    }

    .genre-thumb .genre-thumb-container .thumb-text {
        font-size: 18px;
        line-height: 20px;
        bottom: 10%;
    }

    .playlists-grid {
        grid-template-columns: repeat(auto-fill, 24%);
        grid-gap: 0;
    }
}

/* Dispositivos extra large (desktops grandes com 1200px ou mais) */
@media (min-width: 1200px) {

    .mw-100 {
        width: 50% !important;
    }

    .genre-thumb .genre-thumb-container .thumb-text {
        font-size: 25px;
        bottom: 10%;
    }

    .artists-grid {
        grid-template-columns: repeat(auto-fill, 15%);
        grid-row-gap: 4.5rem;
    }

    .artist-thumb .artist-thumb-container .thumb-text {
        font-size: 18px;
        bottom: -30px;
        line-height: 18px;
    }

    .playlists-grid {
        grid-template-columns: repeat(auto-fill, 24%);
        grid-gap: 0;
    }
}
