/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* button */
::-webkit-scrollbar-button {
    background: inherit;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #474747;
    border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #666;
}

/* Track */
::-webkit-scrollbar-track {
    background: inherit;
}

/* The track NOT covered by the handle.
::-webkit-scrollbar-track-piece {
    background: #000; 
}
/* Corner */
::-webkit-scrollbar-corner {
    background: #999;
}

/* Resizer */
::-webkit-resizer {
    background: inherit;
}

@media (max-width:540px) {
    #mySidebar>button {
        text-align: center !important;
    }

    #mySidebar>button>span {
        display: none;
    }
}

.button-custom {
    background-color: #A75D5D;
    color: white;
    border: none;
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
}

.button-custom:hover {
    background-color: #D3756B;
    cursor: pointer;
    color: white;
}

.show-password {
    position: absolute;
    right: 34px;
    top: 397px;
}

#top-bar {
    position: fixed;
    background-color: #A75D5D;
    color: white;
    transition: margin-left .4s;
    z-index: 3;
}

#main {
    margin-top: 55px;
}

#app-title {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
}

#mySidebar {
    background-color: #FFC3A1;
    z-index: 3;
}

#mySidebar a {
    background-color: #FFC3A1;
    color: black;
}

#mySidebar a.active {
    background-color: #D3756B;
    color: white;
}

#mySidebar a:hover {
    background-color: #F0997D;
    cursor: pointer;
    color: white;
}

#mySidebar #profile-sidebar {
    margin-top: 10px;
}

#mySidebar #profile-sidebar img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

#mySidebar #profile-sidebar #name {
    font-size: 20px;
    font-weight: bold;
}

#mySidebar #profile-sidebar #acc-type {
    font-size: 18px;
}

#modals header,
#user-modal header {
    background-color: #F0997D;
}

#dropdown-user {
    margin-right: 20px;
    margin-top: 13px;
    position: fixed;
}

#dropdown-user #user-name i {
    margin-left: 3px;
}

.w3-dropdown-content {
    background-color: #FFC3A1;
}

.profile-icon {
    width: 25px;
    height: 25px;
    object-fit: cover;
    border-radius: 50%;
}

.class-card {
    padding: 20px
}

.class-card .w3-card {
    border: 1px solid white;
    border-radius: 5%;
}

.class-card .w3-card header h5 {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
}

.class-card img {
    object-fit: cover;
    width: 100%;
    height: 300px;
}

.class-card img:hover {
    cursor: pointer;
}

.class-card .w3-row {
    margin-top: 10px;
}

.class-card .action {
    margin-top: 5px;
}

.class-card .action i {
    text-shadow: white;
}

.class-card .class-content {
    height: 120px;
}

.class-card .class-content:hover {
    cursor: pointer;
}

.class-card footer:hover {
    cursor: pointer;
}

.class-card footer i {
    margin-bottom: 11px;
    font-size: 11px;
}

.class-form-image {
    width: 100%;
}