/* @font-face {
    font-family: Averta;
    src: url(./font/Averta-Regular.woff);
  } */


/*html { height: 100%; }*/
body {
    font-family: Raleway, Arial, Sans-serif;
    margin: 0px;
    background: #f5f5f5;
    font-size: 1.1em;
}

@media only screen and (max-width:700px) {
    body {
        font-size: 1.0em;
    }
}

.card,
nav.navbar,
header.navbar {
    box-shadow: 0 4px 24px rgba(0, 0, 0, .08)
}

* {
    outline: none !important;
}

form {
    padding: 0px;
    margin: 0px;
}

video {
    background: #000;
}

input,
textarea {
    font: 15px Barlow, Arial, Sans-serif;
    line-height: 1.4em;
    padding: 0px;
    margin: 0px;
}

textarea,
select {
    border: 1px solid #ccc;
}

select option {
    padding: 3px
}

button,
button:focus {
    outline: none;
}

a {
    color: #000;
    text-decoration: none;
}

a.link {
    color: #a714bb;
}

a:hover {
    color: #a714bb;
    text-decoration: underline;
}

.chord-flat {
    color: #a714bb;
    font-weight: bold;
    display: inline-block;
    padding: 0px 3px;
}

.chord {
    color: #a714bb;
    font-weight: bold;
    position: absolute;
    display: inline-block;
    padding: 0px 3px;
    margin-top: -1.5em;
}

@media only screen and (max-width:700px) {
    .chord {
        position: relative;
        margin-top: auto;
    }
}

h1,
h2,
h3 {
    font-weight: normal;
    margin: 0px;
}

h1 {
    font-size: 1.5em;
}

h2 {
    font-size: 1.3em;
}

h3 {
    font-size: 1.17em;
}

@media only screen and (max-width:600px) {
    .navbar-brand img {
        width: 32px;
    }

    h1 {
        font-size: 1.25em;
    }

    h2 {
        font-size: 1.15em;
    }

    h3 {
        font-size: 1.0em;
    }

    .npm>.card {
        border-radius: 0px;
        border-right: 0px;
        border-left: 0px;
    }
}

.object-fit-cover {
    object-fit: cover;
}

.navbar .nav-item {
    margin-right: 10px;
}

@media only screen and(max-width:700px) {
    .smart-scroll {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 1030;
    }
}

.smart-scroll.scrolled-down {
    transform: translateY(-100%);
    transition: all 0.3s ease-in-out;
}

.smart-scroll.scrolled-up {
    transform: translateY(0);
    transition: all 0.3s ease-in-out;
}

@media only screen and (max-width:768px) {
    .row-fluid {
        white-space: nowrap !important;
        overflow-x: scroll;
        flex-wrap: nowrap;
    }

    .row-fluid::-webkit-scrollbar {
        display: none;
    }

    .navbar form {
        padding: 5px 0px;
    }

    .navbar .nav-item {
        padding: 5px 10px;
        width: 100%;
    }
}

@media only screen and (max-width:600px) {
    .navbar .nav-item {
        text-align: left;
    }

    .navbar .notif-dropdown {
        width: 100%;
    }
}

#navlist {
    /* background: #a714bb; */
    background-image: linear-gradient(to right, #a714bb, #F8040E);
}

@media only screen and (max-width:768px) {
    #navlist:not(.collapse.show) {
        display: none;
    }

    #navlist {
        border-top-left-radius: 0px !important;
        border-top-right-radius: 0px !important;
    }
}

.navbar-custom {
    background-color: white;
}

.badge-link {
    padding: 5px 10px;
    border-radius: 5px;
}

.badge-link:hover {
    background: #e8e8e8;
    text-decoration: none;
}

/* bootstrap override */
.text-primary {
    color: #0079d3 !important;
}

/* .btn-outline-primary,
.btn-outline-primary.dropdown-toggle,
[class*="-primary"] {
  border-color: #0079d3 !important;
  color: #0079d3 !important;
} */

.btn-custom {
    background: #a714bb;
    color: white;
}

.btn-custom:hover {
    color: white;
}

.btn-outline-primary {
    border-color: #a714bb;
    color: #a714bb
}

.btn-outline-primary:hover,
.btn-outline-primary:active,
.btn-outline-primary:focus,
.show>.btn-outline-primary.dropdown-toggle,
.list-group-item.active,
.btn-primary,
.badge-primary {
    background-color: #0079d3 !important;
    color: #fff !important;
}

/* .container-fluid {
    max-width: 1180px !important;
} */

.dropdown-item:active {
    background-color: #0079d3 !important;
    color: #fff !important;
}

/* bd-callout */
.bd-callout {
    padding: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid #eee;
    border-left-width: .25rem;
    border-radius: .25rem;
}

.bd-callout h4 {
    margin-top: 0;
    margin-bottom: .25rem;
}

.bd-callout p:last-child {
    margin-bottom: 0;
}

.bd-callout code {
    border-radius: .25rem;
}

.bd-callout+.bd-callout {
    margin-top: -.25rem;
}

.bd-callout-success {
    border-left-color: #20a117;
}

.bd-callout-success h4 {
    color: #20a117;
}

.bd-callout-info {
    border-left-color: #5bc0de;
}

.bd-callout-info h4 {
    color: #5bc0de;
}

.bd-callout-warning {
    border-left-color: #f0ad4e;
}

.bd-callout-warning h4 {
    color: #f0ad4e;
}

.bd-callout-danger {
    border-left-color: #d9534f;
}

.bd-callout-danger h4 {
    color: #d9534f;
}

/*hr with text inside*/
.hr-text {
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.grecaptcha-badge {
    display: none;
}

.hr-text::before,
.hr-text::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.hr-text::before {
    margin-right: .5em;
}

.hr-text::after {
    margin-left: .5em;
}

.btn-circle {
    width: 50px;
    height: 50px;
    text-align: center;
    padding: 6px 0;
    line-height: 50px;
    border-radius: 25px;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}



/* avatar */
.avatar {
    object-fit: cover;
    height: 150px;
    width: 100%;
    object-position: 50% 50%;
}

.no-avatar {
    display: block;
    text-align: center
}

.no-avatar:after {
    content: 'Không có ảnh' !important;
    text-align: center;
    color: #ccc;
    min-height: 120px;
    line-height: 120px;
    display: block
}

@media only screen and (max-width:600px) {
    .avatar {
        object-fit: cover;
        max-height: 110px;
        width: 100%
    }
}

.footer {
    background: #222;
    color: white;
}

.footer a {
    color: white;
}

.footer ul {
    list-style-type: none;
    padding-left: 0px;
}

.pagination {
    margin-bottom: 0px;
}

.avatar {
    width: 100%;
    object-fit: cover;
    border-radius: 10px
}

/*------------------------------------
- COLOR primary
------------------------------------*/
.page-link {
    color: black
}

.page-item.active .page-link {
    background-color: #a714bb !important;
    border-color: #a714bb;
}

.btn-outline-primary:hover,
.btn-outline-primary:active,
.btn-outline-primary:focus,
.show>.btn-outline-primary.dropdown-toggle,
.list-group-item.active,
.btn-primary,
.badge-primary,
.btn-primary:active {
    background-color: #a714bb !important;
    border-color: #a714bb;
}

.btn-primary:hover {
    background-color: #a714bb !important;
    border-color: #a714bb;
}

.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show>.btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 52, 52, 0.3);
    border-color: #a714bb;
}

input.form-control:focus,
select.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 52, 52, 0.3);
    border-color: #a714bb;
}

.dropdown-item:active {
    background-color: #a714bb !important;
}

.accordion>.card>.card-header {
    background-color: #a714bb !important;
    color: white
}

.accordion>.card>.card-header button {
    color: white
}

.square-bottom {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

/* focus */
.focus-wrapper .focus,
.focus-wrapper .small-focus {
    position: relative;
}

.focus-wrapper .focus .avatar {
    height: 388px;
}

.focus-wrapper .small-focus .avatar {
    height: 186px;
}

.focus-wrapper .focus .cont,
.focus-wrapper .small-focus a.alink {
    position: relative;
    display: block;
}

.focus-wrapper .focus a.alink {
    color: white;
    font-size: 22px;
}

.focus-wrapper .focus a:hover {
    text-decoration: none;
}

.focus-wrapper .focus .info,
.focus-wrapper .small-focus .info {
    color: white;
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 50%;
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0px, transparent 100%);
}

.focus-wrapper .focus .info .box,
.focus-wrapper .small-focus .info span {
    position: absolute;
    bottom: 0px;
    margin: 10px;
}

.focus-wrapper .small-focus span {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* number of lines to show */
    -webkit-box-orient: vertical;
}

@media only screen and (max-width:600px) {
    .focus-wrapper {
        margin-left: -15px;
        margin-right: -15px;
        background: white
    }

    .text-sm-small {
        font-size: 12px
    }

    .focus-wrapper .avatar {
        object-fit: cover;
        max-height: 110px;
        width: 100%
    }

    .focus-wrapper .focus .avatar {
        max-height: 250px
    }

    .focus-wrapper .small-focus .avatar {
        max-height: 160px
    }

    .focus-wrapper .focus .info,
    .focus-wrapper .small-focus .info {
        position: static;
        height: auto;
        background-image: none
    }

    .focus-wrapper .focus .info .box,
    .focus-wrapper .small-focus .info span {
        position: static;
        padding: 0;
        color: #000
    }

    .focus-wrapper .small-focus .info span {
        margin: 5px
    }

    .focus-wrapper .focus a.alink,
    .focus-wrapper .small-focus a.alink {
        color: #000
    }
}

.tab-overload .gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background-image: linear-gradient(rgba(255, 255, 255, 0), rgb(255, 255, 255));
}

.tab-overload button {
    position: absolute;
    bottom: 0;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
}

.small-circle {
    background-color: #dd4ecd;
    color: #FFCDFF;
    text-align: center;
    text-transform: uppercase;
    width: 24px;
    height: 24px;
    line-height: 24px
}