﻿/*.line-2 {
    line-height: 1.5em;
    height: 3em;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
}*/

.position-sticky {
    position: -webkit-sticky !important;
    position: sticky !important
}
.min-h-650 {
    min-height: 680px
}
/*.modal-dialog {
    min-height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: auto;
}

@media(max-width: 768px) {
    .modal-dialog {
        min-height: calc(100vh - 20px);
    }
}*/
.dropdown-menu-right {
    right: 0 !important;
    left: auto !important;
}

.btn-login-header {
    padding: 0.6rem 0.75rem !important;
    font-size: 1rem !important;
    /*color: #343a40 !important;*/
    color: #fff !important;
    background-color: #007bff !important;
    border-color: #007bff !important;
}

.products-item td, th {
    border-top: none;
}

.products-item .number {
    width: 60px;
}

    .products-item .number.is-top-1 {
        -webkit-text-stroke: 1px #50e3c2;
        opacity: 1;
    }

    .products-item .number.is-top-1, .products-item .number.is-top-2, .products-item .number.is-top-3 {
        color: rgba(74,144,226,0);
        opacity: 1;
    }

.song-prefix .number.is-top-1 {
    color: var(--blue);
}

.products-item .number {
    min-width: 38px;
    /*-webkit-text-stroke: 1.5px var(--text-primary);*/
    -webkit-text-stroke: 1px #ffe200;
    opacity: .7;
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    color: #fff;
    font-family: "Roboto",sans-serif;
    white-space: nowrap;
}

.products-item .number-null {
    min-width: 38px;
    -webkit-text-stroke: 1.5px var(--text-primary);
    opacity: .7;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    color: #666;
    font-family: "Roboto",sans-serif;
    white-space: nowrap;
}

.products-item .number.is-top-2 {
    -webkit-text-stroke: 1px #95c6ff;
}

.products-item .number.is-top-3 {
    -webkit-text-stroke: 1px #e35050;
    opacity: 1;
}


nav.navbar {
    border-bottom: 1px solid #dee2e6 !important;
    box-shadow: 0 3px 8px 0 rgba(0,0,0,.05) !important;
}

.btn-custom-outline-light {
    color: #6c757d;
    border-color: #c5c5c5;
}

.affix {
    position: fixed;
    top: 0;
    width: 100%;
    /*opacity: 1;*/
    background-color: #fff;
    z-index: 100;
    border-bottom: 1px solid #dee2e6 !important;
    box-shadow: 0 3px 8px 0 rgba(0,0,0,.05) !important;
    display: inline
}

.search-affix {
    opacity: 0;
}


.list-item__num-pic {
    background-image: url('../images/number-image.svg');
    position: absolute;
    left: 20px;
    top: 20px;
    width: 24px;
    height: 20px;
    /*font-weight: 700;*/
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px
}

.grid-item__num-pic {
    /*background-image: url('../Assets/images/number-image.svg');*/
    background-image: url('../images/icon-video.png');
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
/*.grid-item__num-pic-quest {
    background-image: url('../images/quest-ico.png');
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}*/
.grid-item__num-pic-quest::before {
    font-family: 'FontAwesome';
    font-weight: normal;
    font-style: normal;
    content: "\f059";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #ffd800;
    font-size: 50px
}


hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: block;
    width: 100%;
}

.error {
    color: red
}

.product-title {
    min-height: 50px;
    font-weight: 600 !important;
}

.item-post div.card-img-top {
    width: unset !important;
}

.nav-link {
    /* display: block;
    padding: 2px 0px;*/
}

.product-img {
    height: 110px !important;
    width: 120px !important;
}

.profile .profile-picture.round {
    border-radius: 50%;
}

.profile .profile-picture {
    float: left;
    width: 3.6rem;
    height: 3.6rem;
    /*   max-width: 50px;
    max-height: 50px;*/
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

img.lazy {
    /* optional way, set loading as background */
    background-image: url('../images/NotFound.png');
    /*background-image: url('../Assets/images/loading.svg');*/
    /*background-image: url('images/loading.gif');*/
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
}

footer {
    font-size: 13px !important
}

/*.jquery-comments * {
    font-size: 14px !important;
}*/

.fa-fw-50 {
    width: 50px !important;
    height: 50px !important;
    text-align: center !important;
    vertical-align: middle !important;
    align-items: center
}

.fa-fw-40 {
    width: 40px !important;
    text-align: center !important;
}

.fa-fw-30 {
    width: 30px !important;
    text-align: center !important;
}

.fa-fw-20 {
    width: 20px !important;
    text-align: center !important;
}

.btn-custom-readmore {
    /* display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;*/
}

.btn-custom-readmore-outline-primary {
    /* color: #007bff;
    border-color: #007bff;*/
}

.btn-custom-readmore-block {
}

.btn-custom-readmore-rounded {
    /*border-radius: 20px !important;*/
}

@media (max-width: 576px) {
    .products-item .number {
        font-size: 36px
    }

    .text-header {
        font-size: 90%
    }
    /*   .input-group-addon, .input-group-btn, .input-group .form-control {
        display: block !important;
        margin-bottom: 10px !important;
        clear: both;
    }*/
    /* .keyword_search {
        width: 100% !important
    }*/
    /* .input-group {
        display: block;
    }*/

    .card-columns-xs {
        -webkit-column-count: 2 !important;
        -moz-column-count: 2 !important;
        column-count: 2 !important;
        -webkit-column-gap: 1.25rem;
        -moz-column-gap: 1.25rem;
        column-gap: 1.25rem;
        orphans: 1;
        widows: 1;
    }

        .card-columns-xs .card {
            display: inline-block;
            width: 100%;
        }

    .border-xs-bottom {
        border-bottom: 1px solid #dee2e6 !important;
    }

    input,
    select,
    textarea {
        max-width: unset !important;
    }

    .pull-custom-left {
        float: left;
    }

    .btn-custom {
        display: inline-block;
        font-weight: 400;
        color: #212529;
        text-align: center;
        vertical-align: middle;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        background-color: transparent;
        border: 1px solid transparent;
        padding: 0.375rem 0.75rem;
        font-size: 1rem;
        line-height: 1.5;
        border-radius: 0.25rem;
        transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    }

    .btn-custom-outline-primary {
        color: #007bff;
        border-color: #007bff;
    }

    .btn-custom-block {
        display: block;
        width: 100%;
    }

    .btn-custom-rounded {
        border-radius: 20px !important;
    }

    .btn-custom-readmore {
        display: inline-block;
        font-weight: 400;
        color: #212529;
        text-align: center;
        vertical-align: middle;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        background-color: transparent;
        border: 1px solid transparent;
        padding: 0.375rem 0.75rem;
        font-size: 1rem;
        line-height: 1.5;
        border-radius: 0.25rem;
        transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    }

    .btn-custom-readmore-outline-primary {
        color: #007bff;
        border-color: #007bff;
    }

    .btn-custom-readmore-block {
        display: block;
        width: 100%;
    }

    .btn-custom-readmore-rounded {
        border-radius: 20px !important;
    }
}

@media (min-width: 992px) {
    .keyword_search {
        width: 50% !important
    }
}

.products-item {
    cursor: pointer;
}

.popover {
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 6px;
    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
    line-break: auto;
}

.popover-content {
    padding: 0px 10px;
}

.megasubmenu {
    padding: 20px;
}

@media (min-width: 992px) {
    .dropdown-menu .dropdown-toggle:after {
        border-top: .3em solid transparent;
        border-right: 0;
        border-bottom: .3em solid transparent;
        border-left: .3em solid;
    }

    .dropdown-menu {
        margin: 0;
    }

    .megasubmenu {
        left: 100%;
        top: 0;
        min-height: 100%;
        min-width: 450px;
    }

    .dropdown-menu > li:hover .megasubmenu {
        display: block;
    }
}

.breadcrumb {
    flex-wrap: nowrap !important;
}

.breadcrumb-item.active {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

ul.typeahead {
    padding: 10px !important;
}

.dropdown-menu-custom {
    /*    width: 100% !important;*/
    min-width: 320px !important;
    padding: 20px 20px !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

body {
    font-family: "Nunito Sans", sans-serif;
    /*font-family: Arial, Helvetica, sans-serif,"Montserrat", sans-serif !important;*/
}

body {
    padding-top: 80px;
    /*    padding-bottom: 20px;*/
}

.container-wrapper {
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    /*max-width: 280px;*/
}

.container {
    /*max-width: 800px !important;*/
    /*padding: 0 !important;*/
}

#back-to-top {
    position: fixed;
    bottom: 100px;
    right: 37px;
    z-index: 9999;
    opacity: 0;
}

    #back-to-top.show {
        opacity: 1;
    }

.example-slide {
    align-items: center;
    background-color: #666;
    color: #999;
    display: flex;
    font-size: 1.5rem;
    justify-content: center;
    min-height: 15rem;
    border-radius: 10px;
}

.carousel-inner {
    border-radius: 5px !important;
}

.broadcast {
    border: 1px solid #eee;
    border-radius: 0.25rem;
    display: flex;
    padding: 0.5rem 0.75rem;
}

    .broadcast > .feather {
        margin-right: 0.5rem;
    }

    .broadcast > .carousel {
        flex: 1;
    }

.broadcast-content {
    align-items: center;
    display: flex;
    justify-content: space-between;
    text-decoration: none !important;
    color: #666;
}

.item-shadow-hover:hover {
    box-shadow: 0 1px 8px 0 rgba(0,0,0,.05) !important;
}

.position-sticky {
    position: -webkit-sticky !important;
    position: sticky !important
}

.font-weight-bold {
    font-weight: bold !important;
}

.rounded {
    border-radius: 0.5rem !important;
}

.lead-custom {
    font-size: 1.25rem;
    font-weight: 300 !important;
}

.item-location-time {
    position: absolute;
    display: block;
    bottom: 0px
}

.item-view-count {
    position: absolute;
    right: 1rem;
    bottom: 2px
}

.line-2 {
    line-height: 1.5em;
    height: 3em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    /* line-height: 25px; */
    /* max-height: 75px; */
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.line-3 {
    line-height: 1.5em;
    height: 4.5em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    /* line-height: 25px; */
    /* max-height: 75px; */
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

@media (max-width: 576px) {
    .product-img {
        height: 100px !important;
        width: 120px !important;
    }

    .category-title {
        line-height: 16px !important;
        min-height: 25px !important;
        font-size: 14px;
    }

    .category-col {
        line-height: 18px !important;
    }

    .item-location-time {
        position: unset;
        bottom: unset
    }

    .lead-xs-custom {
        font-size: 1rem !important;
        margin-bottom: 5px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        /* line-height: 25px; */
        /* max-height: 75px; */
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}

@media (max-width: 767.98px) {
    .product-content {
        padding-top: 0px !important;
    }

    .jcarousel-wrapper {
        padding: 0px !important;
    }

    .text-xs-truncate {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .card-sm-body {
        /*margin-top: 1.25rem;*/
    }

    .products-container .products-item .lead-custom {
        font-size: 1rem;
        margin-bottom: 5px;
    }

    .lead-xs {
        font-size: 1rem !important;
        margin-bottom: 5px !important;
    }

    .products-container .products-item h6 {
        margin-bottom: 0px;
    }

    .products-container .products-item .item-shadow-hover {
        padding: 15px 0px !important;
    }
}

@media (max-width: 280px) {
    .img-category {
        width: 40px !important;
    }

    .category-title {
        font-size: 12px
    }

    .item-post {
        height: 250px;
    }

        .item-post .card-img-top {
            height: 90px;
        }

        .item-post .card-title {
            font-size: 15px;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            /* line-height: 25px; */
            /* max-height: 75px; */
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }

    #back-to-top {
        bottom: 100px;
        right: 37px;
    }
}

@media (min-width: 360px) {

    .item-post {
        height: 220px;
    }

        .item-post .card-img-top {
            height: 120px;
        }

        .item-post .card-title {
            font-size: 15px;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            /* line-height: 25px; */
            /* max-height: 75px; */
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }

    #back-to-top {
        bottom: 100px;
        right: 37px;
    }
}

@media (min-width: 400px) {

    .item-post {
        height: 270px;
    }

        .item-post .card-img-top {
            height: 170px;
        }

        .item-post .card-title {
            font-size: 15px;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            /* line-height: 25px; */
            /* max-height: 75px; */
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }

    #back-to-top {
        bottom: 100px;
        right: 37px;
    }
}

@media (min-width: 576px) {
    .col-sm {
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: 100%;
    }

    .item-post {
        height: 270px;
    }

        .item-post .card-img-top {
            height: 170px;
        }

    #back-to-top {
        bottom: 100px;
        right: 37px;
    }
}

@media (min-width: 768px) {
    .col-md {
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: 100%;
    }

    .card-sm-body {
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
        min-height: 1px;
        padding: 1.25rem;
    }

    .card-sm {
        position: relative;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
        min-width: 0;
        word-wrap: break-word;
        background-color: #fff;
        background-clip: border-box;
        border: 1px solid rgb(182 182 182 / 0.13);
        border-radius: 0.25rem;
    }

    .products-item:hover .is-border {
        border-bottom: 1px solid #fff;
    }

    .bg-sm-secondary {
        background-color: #f8f9fa !important;
    }

    .item-post {
        height: 270px;
    }

        .item-post .card-img-top {
            height: 160px;
        }

    #back-to-top {
        bottom: 100px;
        right: 37px;
    }
}

@media (min-width: 992px) {
    .item-post {
        height: 250px;
    }

        .item-post .card-img-top {
            height: 140px;
        }

    #back-to-top {
        bottom: 100px;
        right: 37px;
    }
}

@media (min-width: 1200px) {
    .category-title {
        margin-top: 5px;
        line-height: 16px !important;
        min-height: 25px !important;
        font-size: 14px;
    }

    .item-post {
        height: 310px;
    }

        .item-post .card-img-top {
            height: 200px;
        }

    #back-to-top {
        bottom: 100px;
        right: 37px;
    }
}


.bg-hot {
    background-color: #fffae3 !important
}

.btn-rounded {
    border-radius: 20px !important
}

.lead-xs-custom {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.breadcrumb > li + li:before {
    font-family: FontAwesome;
    font-size: 14px;
    content: "\f105";
    color: #b2b6bf;
    padding: 0;
    margin: 0 8px 0 0;
    position: relative;
    top: 1px;
}

.breadcrumb > li, .breadcrumb > li.active {
    color: #555555;
    padding: 0 3px 0 3px;
}

.validation-summary-errors {
    color: red !important;
}