html,
body {
    height: 100%;
    background-color: #202020;
}

*::-webkit-scrollbar {
    width: 8px;
}

*::-webkit-scrollbar-track {
    background: transparent;
}

*::-webkit-scrollbar-thumb {
    background-color: #404040;
    border-radius: 10px;
}

*::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #202020;
    /*border-top: 1px solid #ddd;*/
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\e151";
}

a.desc:after {
    content: "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media (max-width: 767px) {
    .nav li > form > button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

@media (min-width: 768px) {
    .navbar-expand-md {
        -ms-flex-flow: row nowrap;
        flex-flow: row nowrap;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }
}

.navbar {
    /*box-shadow: 0 5px 5px #8888;*/
    display: -ms-flexbox;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 8px 0;
}

.btn-success {
    color: #fff;
    background-color: #48C874;
    border-color: #48C874;
}

.icon-bar {
    background-color: black;
}

.nav > li > a {
    color: #333333;
}

body{
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
}

h1, h2, h3, h4, h5, h6{
    font-family: 'Poppins', sans-serif;
}

.body-content {
    padding: 90px 60px 80px 60px;
    width: 100%;
}

@media (max-width: 500px) {
    .body-content {
        padding: 90px 10px 80px 10px;
    }
}

.body-heading, .row-heading{
    padding: 0 20px 28px 20px;
    font-family: 'Switzer', sans-serif;
}

.body-heading h1, .row-heading h1{
    font-size: 32px;
    font-weight: 400;
}

.body-heading p{
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
    font-weight: 400;
}

.body-heading .card{
    /*max-height: 230px;*/
    max-width: 600px;
    border: none;
    border-radius: 28px;
    position: relative;
}

.body-heading  .card img {
    object-fit: cover;
    height: 100%;
    border: none;
    border-radius: 28px;
}

.navbar {
    background-color: #202020;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    /*height: 80px;*/
}
.navbar .container {
    padding: 0 32px 0 16px;
}

.navbar .navbar-brand img {
    max-width: 146px;
}

@media (max-width: 420px) {
    .navbar .navbar-brand img {
        max-width: 100px;
    }
}

.navbar li{
    height: 40px;
}

.navbar .logout{
    color: #fff;
}

.navbar .search-btn {
    background-color: #303030;
    border-radius: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.5s ease, border-radius 0.5s ease;
}

.navbar .search-btn input {
    display: none;
    width: 0;
    transition: width 0.5s ease;
}

.navbar .search-btn.active{
    width: 200px;
    border-radius: 16px;
    padding: 5px 10px 5px 10px;
}

@media (max-width: 470px) {
    .navbar .search-btn.active{
        width: 150px;
    }
}

.navbar .search-btn.active input{
    display: block;
    margin: 0 10px 0 0;
    padding: 3px 6px;
    height: 30px;
    width: 100%;
}

.navbar .search-btn img{
    width: 24px;
    height: 24px;
}

.navbar,
.navbar-brand,
.nav-link {
    color: #fff !important;
}

footer {

}

.footer h5 {
    font-weight: 600;
    font-size: 18px;
}

.footer a {
    font-weight: 500;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.footer .footer-container {
    border-top: 1px solid rgba(255, 255, 255, 0.08); /* Top border */
    /*border-right: 0px solid rgba(255, 255, 255, 0.08); !* Right border (not visible) *!*/
    /*border-bottom: 1px solid rgba(255, 255, 255, 0.08); !* Bottom border *!*/
    /*border-left: 0px solid rgba(255, 255, 255, 0.08); !* Left border (not visible) *!*/
}

.row.content-row {
    padding-left: 24px;
    width: 100%;
}

.row.content-row > div{
    /*padding: 0;*/
}

.row.content-row .card {
    max-height: 230px;
    height: 230px;
    border: none;
    border-radius: 28px;
    position: relative;
}

.row.content-row .card img {
    object-fit: cover;
    height: 100%;
    border: none;
    border-radius: 28px;
}

.row.content-row .card .card-info {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    background-color: #26272A;
    padding: 10px;
    border-radius: 20px;
}

.row.content-row .card .card-info .info-col {
    padding-right: 0;
}

.row.content-row .card .card-info .btn-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.row.content-row .card .card-info h5 {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 500;
    margin: 3px 0 3px 0;
}

.row.content-row .card .card-info p {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #A4AEAE;
    margin: 0;
    line-height: 14px;
}

.row.content-row .card .card-info p img{
    width: 14px;
    height: 14px;
}


.row.content-row .card .card-info .button {
    background-color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.row.content-row .card .card-info .button img{
    width: 24px;
    height: 24px;
}

.dots-overflow {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.two-rows-dots-overflow {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


/*

plan-lesson cards

*/

@media (max-width: 560px) {
    #cards .row.content-row > div {
        padding: 0 !important;
    }
}

.card-sm {
    background: #191A1B;
    height: 124px;
    border-radius: 24px;
    /*padding: 16px 10px 16px 16px;*/
    padding: 16px;
    display: flex;
}

.card-sm .card-sm-img {
    width: 92px;
    height: 92px;
    min-width: 92px;
    min-height: 92px;

    object-fit: cover;
    border: none;
    border-radius: 20px;
}

.card-sm .card-sm-info {
    /*margin: 0 0 0 10px;*/
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-sm .card-sm-info .row{
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

.card-sm .card-sm-info .info-col {
    padding-right: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 10px 0;
}

.card-sm .card-sm-info .btn-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

 .card-sm .card-sm-info h5 {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 500;
    margin: 3px 0 3px 0;
}

.card-sm .card-sm-info p {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #A4AEAE;
    margin: 0;
    line-height: 14px;
}

.card-sm .card-sm-info p img{
    width: 14px;
    height: 14px;
}


 .card-sm .card-sm-info .button {
    background-color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-sm .card-sm-info .button img{
    width: 24px;
    height: 24px;
}

.card-link {
    text-decoration: none;
    color: inherit;
}

.card-link:hover {
    text-decoration: none;
    color: inherit;
}


/*

search bar

*/

#search-container {
    width: 100%;
    height: 0;
    top: 64px;
    position: absolute;
    transition: height 0.5s ease;
    z-index: 10;
}

#search-container.active {
    background-color: #202020;
    border: 1px solid #26272A;
    height: 400px;
    transition: height 0.5s ease;
}

#search-results {
    display: none;
    max-height: 100%;
    width: 100%;
    padding: 10px;
    overflow-y: scroll;
}

#search-container.active #search-results{
    display: flex;
}

#search-results > div {
    padding: 0;
}

#search-hide {
    display: none;
    position: absolute;
    z-index: 20;
    bottom: 10px;
    right: 20px;
    color: #A4AEAE;


    background-color: #303030;
    border-radius: 24px;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
}

#search-hide svg{
    rotate: -90deg;
    width: 32px;
    height: 32px;
}

#search-container.active #search-hide {
    display: flex;
}

.visit-category-btn {
    padding: 10px;
    background-color: #26272A;
    border-radius: 5px;
}

.visit-category-btn img{
    width: 24px;
    height: 24px;
}