/*========================================================
        AUTHENTICATION CARD
=========================================================*/
.bg-authentication {
    background: -webkit-linear-gradient(332deg, #43b67b, rgba(129, 226, 129, 0.7));
    background: linear-gradient(118deg, #43b67b, rgba(129, 226, 129, 0.7));
}
.auth-slider-text {
	color: #fff;
	padding-top: 5px;
}
.bg-authentication .carousel-indicators{
	bottom: -40px;
}
.modal-header .close {
    /* margin: 0rem .5rem -1rem auto; */
}
.modal-header .close:hover {
    /* margin: 0rem .4rem -1rem auto; */
}
.validation-error p {
	margin-bottom: 0px;
}
.bg-authentication .btn-outline-primary {
	padding: 0.9rem 0.9rem;
}
/*========================================================
        BACKGROUND
=========================================================*/
.bg-white {
	background-color: #fff;
}
/*========================================================
        NAVBAR MENU
=========================================================*/
@media (min-width: 767.98px){
	.active i.primary {
	    color: #fff !important;
	}
}
.badge-outline-primary {
	border: 1px solid rgba(129, 226, 129, 0.7);
    background-color: transparent;
    color: #43b67b;
    padding: calc(0.75rem - 1px) calc(1.25rem - 1px) calc(0.75rem - 1px) calc(1.25rem - 1px) !important;
}
.horizontal-menu .header-navbar.navbar-horizontal ul#main-menu-navigation>li>a {
  margin-right: 0 !important;
}
/*========================================================
        ALERT
=========================================================*/
.alert ul {
    margin-top: 0;
    margin-bottom: 0;
}
.alert {
    font-weight: 400;
    font-size: 0.8em;
}

/*========================================================
        CALENDAR
=========================================================*/
.fc .fc-view-container .fc-head .fc-head-container thead .fc-day-header.fc-today {
    color: #43b67b;
}
.fc-dayGrid-view .fc-day-top {
  padding: 5px;
}
.fc .fc-header-toolbar .fc-button {
  background: transparent;
  border: solid 1px #43b67b;
  color: #43b67b;
}
.fc .fc-header-toolbar .fc-button-active {
  color: white;
}
.fc-button-primary:not(:disabled).fc-button-active:focus, .fc-button-primary:not(:disabled):active:focus {
  -webkit-box-shadow: none;
  box-shadow: none;
}
.fc .fc-header-toolbar .fc-prev-button, .fc .fc-header-toolbar .fc-next-button {
  border: 0px;
}
.fc .fc-event {
  padding: 0.25rem 0.5rem;
  margin: 1px 2px;
}
/*========================================================
        ICON
=========================================================*/
.subject-icon{
  border: 1px solid #ddd;
  padding: 6px;
  border-radius: 50%;
  width: 35px;
  height: 35px;
}
.subject-icon img{
  width: 22px;
  height: 22px;
}

/*========================================================
        HEADER TOP MENU
=========================================================*/
@media (max-width: 767px) {
  .header-top {
    display: none !important;
  }
}

/*========================================================
        MOBILE BOTTOM MENU
=========================================================*/
.navbar-bottom {
  background-color: #fafafa;
  border-top: 1px solid #d1d1d1;
  overflow: hidden;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 220; /* Change from 10 to 220 so it'll be over the class sidebar (210)*/
}
.navbar-bottom a {
  float: left;
  display: block;
  color: #494949;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}
.navbar-bottom a.active {
    background-color: white;
}
.navbar-bottom a.active i.feather{
    font-size: 20px;
    color: #43b67b;
}
.navbar-bottom i.feather{
    font-size: 17px;
} 

/*========================================================
        CARD
=========================================================*/
.card {
    margin-bottom: 1.5rem !important;
}
.card-quiz-footer{
  height: 60px;
}
.card-hover:hover {
    background: -webkit-linear-gradient(332deg,rgb(222 222 222 / 22%),#8b9cac)!important;
    background: linear-gradient(118deg,rgb(222 222 222 / 18%),#8b9cac)!important;
    box-shadow: 0 0 6px 1px rgba(222,222,222,.9)!important;
}
.card-hover-dynamic:hover {
  background: -webkit-linear-gradient(332deg,rgb(222 222 222 / 22%), var(--hover-color))!important;
  background: linear-gradient(118deg,rgb(222 222 222 / 18%),var(--hover-color))!important;
  box-shadow: 0 0 6px 1px rgba(222,222,222,.9)!important;
}
.card-hover-dynamic-small:hover {
  background: -webkit-linear-gradient(332deg,rgb(222 222 222 / 22%),80%,var(--hover-color))!important;
  background: linear-gradient(118deg,rgb(222 222 222 / 18%),80%,var(--hover-color))!important;
  box-shadow: 0 0 6px 1px rgba(222,222,222,.9)!important;
}.card-max-150{
  max-height:150px;
  overflow:hidden; 
}
.card-max-200{
  max-height:200px;
  overflow:hidden;    
}
.card-max-250{
  max-height:250px;
  overflow:hidden;    
}
.card-max-300{
  max-height:300px;
  overflow:hidden;    
}
.card-max-350{
  max-height:350px;
  overflow:hidden;    
}
.card-max-400{
  max-height:400px;
  overflow:hidden;    
}
.card-max-450{
  max-height:450px;
  overflow:hidden;    
}
.card-max-500{
  max-height:500px;
  overflow:hidden;    
}
.card-min-150{
  min-height:150px
}
.card-min-200{
  min-height:200px;   
}
.card-min-250{
  min-height:250px; 
}
.card-min-300{
  min-height:300px;   
}
.card-min-350{
  min-height:350px;    
}
.card-min-400{
  min-height:400px;   
}
.card-min-450{
  min-height:450px;    
}
.card-min-500{
  min-height:500px;   
}
.border-5-primary {
    border: 5px solid #43b67b !important;
}

/* Custom */
* {
  scroll-behavior: unset !important;
}
.horizontal-menu .horizontal-menu-wrapper {
  z-index: 10 !important;
  background-color: #f8f8f8;
}
.sub-header {
  position: fixed;
  z-index: 2;
  top: 155px;
  left: 0;
  right: 0;
  padding-top: 6px;
  padding-bottom: 0rem;
  padding-left: 2.2rem;
  padding-right: 2.2rem;
  background-color: #f8f8f8;
}
.sub-header .card {
  box-shadow: none !important;
}
.modal .modal-score-header {
  position: absolute;
  margin-top: -40px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 15px;
  border-radius: 5px;
}
.modal .modal-score-header h2 {
  color: #ffffff !important;
}
.modal .modal-score-header.modal-xp {
  background-color: #edb219;
}
.modal .modal-score-header.modal-game {
  background-color: #C20000;
}
.modal .modal-score-header.modal-goal {
  background-color: #f88f01;
}
.modal .modal-score-header.modal-streak {
  background-color: #20c997;
}
.modal .modal-score-icon {
  position: relative;
}
.modal .modal-score-icon h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
}
.score-icon.live-icon {
  position: relative;
}
.score-icon.live-icon strong {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 11px !important;
}

.score-icon.live-icon span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
}

#modal-goal .modal-score-content {
  height: 350px;
}

.score-widget {
    gap: 5px;
}

.score-widget strong,
.score-widget span {
    line-height: 1.1 !important;
}

.score-widget .score-live span {
    font-size: 25px !important;
}

.score-widget .score-item {
    cursor: pointer;
}

.bg-score-goal {
    background-color: #fd7e14;
}

.bg-score-xp {
    background-color: #edb219;
}

.bg-score-game {
    background-color: #edb219;
}

.bg-score-streak {
    background-color: #20c997;
}

.bg-score-live {
    background-color: #ff5f72;
}

@media (min-width: 1200px) {
    .dashboard-level {
        padding-top: 1rem;
    }
}

@media only screen and (max-width: 1180px) {
    .sub-header {
        top: 6rem !important;
    }
}

@media only screen and (max-width: 1024px) {
    .sub-header {
        top: 4.7rem !important;
        padding-top: 1.5rem;
        padding-bottom: 0rem;
        padding-left: 2.2rem;
        padding-right: 2.2rem;
    }
    .dashboard-level {
        padding-top: 1.5rem;
    }
}

@media only screen and (max-width: 932px) {
    .dashboard-level {
        padding-top: 7rem;
    }
}

@media only screen and (max-width: 914px) {
    .dashboard-level {
        padding-top: 7rem;
    }
}

@media only screen and (max-width: 850px) {
    .sub-header {
        top: 4.5rem !important;
        padding-top: 1.5rem;
        padding-bottom: 0rem;
        padding-left: 2.2rem;
        padding-right: 2.2rem;
    }
    .dashboard-level {
        padding-top: 7rem;
    }
}
@media only screen and (max-width: 768px) {
    .sub-header {
        top: 5rem !important;
        padding-top: 1.5rem;
        padding-bottom: 0rem;
        padding-left: 2.2rem;
        padding-right: 2.2rem;
    }
    .dashboard-level {
        padding-top: 8rem;
    }
}

@media only screen and (max-width: 740px) {
    .sub-header {
        top: 0rem !important;
        padding-top: 1.5rem;
        padding-bottom: 0rem;
        padding-left: 2.2rem;
        padding-right: 2.2rem;
    }
    .dashboard-level {
        /* padding-top: 13rem; */
    }
}

@media only screen and (max-width: 730px) {
    .sub-header {
        top: 0 !important;
        padding-top: 1.5rem;
        padding-bottom: 0rem;
        padding-left: 2.2rem;
        padding-right: 2.2rem;
    }
    .dashboard-level {
        padding-top: 7rem;
    }
}
@media only screen and (max-width: 650px) {
    .sub-header {
        top: 0 !important;
        padding-top: 1.5rem;
        padding-bottom: 0rem;
        padding-left: 2.2rem;
        padding-right: 2.2rem;
    }
    .dashboard-level {
        padding-top: 13rem;
    }
}
@media only screen and (max-width: 540px) {
    .sub-header {
        top: 0 !important;
        padding-top: 1.5rem;
        padding-bottom: 0rem;
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }
    .dashboard-level {
        padding-top: 6.5rem;
    }
}
@media only screen and (max-width: 400px) {
    .horizontal-menu .horizontal-menu-wrapper {
        background-color: transparent !important;
    }
    .sub-header {
        top: 0 !important;
        padding-top: 1rem;
        padding-bottom: 0rem;
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }
    .dashboard-level {
        padding-top: 5rem;
    }
    #modal-goal .modal-score-content {
        height: 430px;
    }

    .score-widget .score-live small {
        font-size: 9px;
    }
    .score-widget {
        gap: 4px;
    }
}

/* DISCUSSION */
.discussion-form-author {
  background-color: #f9f9f9;
  border-top: 1px solid #ddd;
  border-left:  1px solid #ddd;
  border-right:  1px solid #ddd;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}
.discussion-form-submission {
  background-color: #f9f9f9;
  border-bottom: 1px solid #ddd;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}
.discussion-total {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}
.discussions .discussion-item {
  border-bottom: 1px solid #ddd;
  margin-bottom: 1rem;
}
.discussions .discussion-item:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}
.discussions .discussion-item .discussion-item-content p {
  /*margin-bottom: .5rem;*/
}
.discussions .discussion-item .discussion-item-actions button,
.discussions .discussion-comment .discussion-comments .comment-item .comment-item-actions button {
  background-color: transparent;
  border: 0;
  padding: 0;
  color: #B8C2CC !important;
  outline: none;
}
.discussions .discussion-item .discussion-item-actions button:focus,
.discussions .discussion-comment .discussion-comments .comment-item .comment-item-actions button:focus {
  outline: none;
}
.discussions .discussion-item .discussion-item-actions button:hover,
.discussions .discussion-comment .discussion-comments .comment-item .comment-item-actions button:hover {
  color: #a8b0b7 !important;
}
.discussions .discussion-item .discussion-item-actions button.liked,
.discussions .discussion-comment .discussion-comments .comment-item .comment-item-actions button.liked {
  color: #43b67b !important;
}
.discussions .discussion-item .discussion-item-actions {
  margin-bottom: 1rem;
}
.discussions .discussion-item .discussion-item-actions button .icon {
  font-size: 1.5em;
}
.discussions .discussion-item .discussion-item-actions button span {
  font-size: 1em;
}
.discussions .discussion-comment {
  margin-bottom: 1rem;
  /*border: 1px solid #ddd;*/
  background-color: #f9f9f9;
  border-radius: 4px;
}
.discussions .discussion-comment .discussion-comment-form {
  padding: 1rem;
  border-radius: 6px 6px 6px 6px;
  background: #F8F8F8;
  border: 1px solid #D8D6DE;
  margin-top: 20px;
}
.discussions .discussion-comment .discussion-comments {
  
}
.discussions .discussion-comment .discussion-comments .comment-item {
  /*border-top: 1px solid #ddd;*/
  padding: 1rem;
}
.discussions .discussion-comment .discussion-comments .comment-item .media-body .comment-item {
  border-top: 0;
  margin-top: 1rem;
  border-left: 4px solid #ddd;
  padding-left: 1rem !important;
}
.discussions .discussion-comment .discussion-comments .comment-item .discussion-comment-form {
  padding: 0 !important;
  border-bottom: 0;
  margin: 1rem 0;
}

.discussions .discussion-comment .discussion-comment-form-field textarea {
  overflow: hidden !important;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
  display:block !important;
  resize: none !important;
  box-sizing: border-box !important;
}

.btn-auth {
    background: linear-gradient(270deg, #3BAD79 0%, #90E38F 100%) !important;
    color: #ffffff;
}

.btn-auth:hover,
.btn-auth:active {
    color: #ffffff;
}

.btn.btn-outline-blue {
    border-color: #0D6EFD !important;
    border-width: 1px;
    color: #0D6EFD;
}

.btn.btn-outline-blue:hover {
    background-color: rgba(13, 110, 253, .08) !important;
}

.btn.btn-outline-indigo {
    border-color: #6610F2 !important;
    border-width: 1px;
    color: #6610F2;
}

.btn.btn-outline-indigo:hover {
    background-color: rgba(102, 16, 242, .08) !important;
}

.btn-toggle {
    transition: background-color 0.5s ease;
    background-color: #EDEDED;
    color: #82868B;
}

.btn-toggle.active {
    background: linear-gradient(270deg, #3BAD79 0%, #90E38F 100%) !important;
    color: #ffffff;
}

/* DROPDOWN */
.table .btn-secondary~.dropdown-menu .dropdown-item.active, .table .btn-secondary~.dropdown-menu .dropdown-item:hover {
    color: #fff !important;
    background-color: #43B67B !important;
}

.container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
    width : 100%;
    padding-right : 1rem;
    padding-left : 1rem;
    margin-right : auto;
    margin-left : auto;
  }
  
  @media (min-width: 576px) {
    .container, .container-sm {
      max-width : 540px;
    }
  }
  
  @media (min-width: 768px) {
    .container, .container-sm, .container-md {
      max-width : 720px;
    }
  }
  
  @media (min-width: 992px) {
    .container, .container-sm, .container-md, .container-lg {
      max-width : 960px;
    }
  }
  
  @media (min-width: 1200px) {
    .container, .container-sm, .container-md, .container-lg, .container-xl {
      max-width : 1140px;
    }
  }
  
  .container, .container-sm, .container-md, .container-lg, .container-xl {
    max-width : 1440px;
  }

  .bg-tutor{
      background: linear-gradient(180deg, #002E45 -0.57%, #006191 100%) !important;
      color: #fff !important;
  }
.btn-tutor {
    background: linear-gradient(90deg, #002E45 0%, #006191 100%) !important;
    color: #ffffff;
}