/*========== GOOGLE FONTS ==========*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

/*========== VARIABLES CSS ==========*/
:root {
  --header-height: 3.5rem;
  --nav-width: 219px;

  /*========== Colors ==========*/
  --first-color: #c79a6d;
  --first-color-light: #000000;
  --title-color: #F4F0FA;
  --text-color: #58555E;
  --text-color-light: #ffffff;
  --body-color: #ffffff;
  --container-color: #000000;
  --icon-color: #FFFFFF;
  --border-bottom: #D3D3D3

  /*========== Font and typography ==========*/
  --body-font: 'Poppins', sans-serif;
  --normal-font-size: .938rem;
  --small-font-size: .75rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-fixed: 100;
}

@media screen and (min-width: 1024px) {
  :root {
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*========== BASE ==========*/
*, ::before, ::after {
  box-sizing: border-box;
}

body {
  margin: var(--header-height) 0 0 0;
  padding: 1rem 1rem 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
}

h3 {
  margin: 0;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/*========== HEADER ==========*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--container-color);
  box-shadow: 0 1px 0 rgba(22, 8, 43, 0.1);
  padding: 0 1rem;
  z-index: var(--z-fixed);
}

.header__container {
  display: flex;
  align-items: center;
  height: var(--header-height);
  justify-content: space-between;
}

.header__img {
  width: 214px;
  height: 56px;
}

.header__logo {
  color: var(--title-color);
  font-weight: var(--font-medium);
  display: none;
}

.header__input {
  width: 100%;
  border: none;
  outline: none;
  background-color: var(--text-color-light);
}

.header__input::placeholder {
  font-family: var(--body-font);
  color: var(--text-color);
}

.header__icon, 
.header__toggle {
  font-size: 1.5rem;
}

.header__toggle {
  color: var(--title-color);
  cursor: pointer;
}

/*========== NAV ==========*/
.nav {
  position: fixed;
  top: 56px;
  left: -100%;
  height: 94vh;
  padding: 1rem 1rem 0;
  background-color: var(--container-color);
  box-shadow: 1px 0 0 rgba(22, 8, 43, 0.1);
  z-index: var(--z-fixed);
  transition: .4s;
}

.nav__container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 3rem;
  overflow: auto;
  scrollbar-width: none; /* For mozilla */
}

/* For Google Chrome and others */
.nav__container::-webkit-scrollbar {
  display: none;
}

.nav__logo {
  font-weight: var(--font-semi-bold);
  margin-bottom: 2.5rem;
}

.nav__list, 
.nav__items {
  display: grid;
}

.nav__list {
  row-gap: 2.5rem;
}

.nav__items {
  row-gap: 1.5rem;
}

.nav__subtitle {
  font-size: var(--normal-font-size);
  text-transform: uppercase;
  letter-spacing: .1rem;
  color: var(--text-color-light);
}

.nav__link {
  display: flex;
  align-items: center;
  color: var(--text-color-light);
}

.nav__link:hover {
  color: var(--first-color);
}

.nav__icon {
  font-size: 1.2rem;
  margin-right: .5rem;
  color: var(--icon-color);
}

.nav__name {
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  white-space: nowrap;
  text-wrap: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav__logout {
  margin-top: 5rem;
}
.nav__dropdown.expandeactive .nav__dropdown-content {
  display: block;
  display: grid;
  row-gap: .5rem;
  padding: .75rem 2.5rem .75rem 1.8rem;
  /* display: none; */
  overflow: hidden;
  /* max-height: 21px; */
  transition: .4s ease-in-out;
}

/* Dropdown */
.nav__dropdown {
  overflow: hidden;
  max-height: 21px;
  transition: .4s ease-in-out;
}

.nav__dropdown-collapse {
  background-color: var(--first-color-light);
  border-radius: .25rem;
  margin-top: 1rem;
}

.nav__dropdown-content {
  display: grid;
  row-gap: .5rem;
  padding: .75rem 2.5rem .75rem 1.8rem;
  display: none;
}

.nav__dropdown-item {
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
  color: var(--icon-color);
}

.nav__dropdown-item:hover {
  color: var(--first-color);
}

/* Home */
.profile__home{
  color: var(--first-color);
  border-bottom: 1px solid #d3d3d3;
  margin-bottom: 1.6rem;
}

/* One Card */
.onecard__heading{
  margin: 2rem 1.5rem;
}

.onecard__image{
  width: 180px;
  margin-left: 1.5rem;
  box-shadow: 2px 10px 20px -10px;
}

.onecard__image__container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 570px;
}

.image__info__container{
  width: 20rem;
  justify-content: space-evenly;
  align-items: center;
  border-radius: 15px;
  box-shadow: 2px 10px 20px -10px;
}

.image__info{
  display: flex;
  justify-content: space-evenly;
  flex-direction: row;
}

.image__info__heading{
  text-align: center;
  margin: 1rem 0;
}

.image__info .info__type,
.image__info .info__status{
  display: flex;
  flex-direction: column;
}

.image__info__text{
  margin: 1.1rem;
}

/* Calander */
h2.profile__home{
  margin-top: 2rem;
}

.select{
  margin: 1rem 3rem;
  padding: 0.1rem 0.2rem;
}

.timetable__button__container{
  margin-top: 2rem;
}

.display__timetable{
  text-decoration: none;
  padding: 0.3rem 0.5rem;
  border: 1px solid;
  border-radius: 3px;
  background-color: var(--body-color);
  color: black;
  transition: all 0.2s ease-in-out;
  margin-left: 5.8rem;
}

.display__timetable:hover{
  color: var(--body-color);
  background-color: black;
}
/* footer */
footer {
  background-color: #000000;
  color: #ffffff;
  position: fixed;
  clear: both;
  bottom: 0;
  left: 0;
  width: 100%;
  font-weight: normal;
  font-variant: normal;
  text-align: center;
  padding: 10px 0;
  display: flex; 
  justify-content: space-between; 
}

#footer-copyright-section {
  text-align: right;
}

#footer-copyright {
  display: flex;
  justify-content: center; 
  align-items: center; 
  width: 90%; 
  text-align: center; 
}

#footer-version-section {
  float: none;
  padding-top: 5px;
  margin: 0px 9px 0px 0px;
}



.nav__dropdown-icon {
  margin-left: auto;
  transition: .4s;
}

/* Show dropdown collapse */
.nav__dropdown:hover {
  max-height: 100rem;
}

/* Rotate icon arrow */
/* .nav__dropdown:hover .nav__dropdown-icon {
  transform: rotate(180deg);
} */

/*===== Show menu =====*/
.show-menu {
  left: 0;
}

/*===== Active link =====*/
.active {
  color: var(--first-color);
}

/* ========== MEDIA QUERIES ==========*/
/* For small devices*/
@media screen and (max-width: 320px) {
  
}

@media screen and (min-width: 768px) {
  body {
    padding: 1rem 3rem 0 6rem;
  }
  .header {
    padding: 0 3rem 0 6rem;
  }
  .header__container {
    height: calc(var(--header-height) + .5rem);
  }
  .header__toggle {
    display: none;
  }
  .header__logo {
    display: block;
  }
  .header__img {
    position: relative;
    width: 214px;
    height: 56px;
    order: 0;
    left: -89px;
  }
  .nav {
    left: 0;
    padding: 1.2rem 1.5rem 0;
    width: 68px; 
  }
  .nav__items {
    row-gap: 1.7rem;
  }
  .nav__icon {
    font-size: 1.3rem;
    color: var(--icon-color);
  }

  /* Element opacity */
  .nav__logo-name, 
  .nav__name, 
  .nav__subtitle, 
  .nav__dropdown-icon {
    opacity: 0;
    transition: .3s;
  }
  
  
  /* Navbar expanded */
  .nav:hover {
    width: var(--nav-width);
  }
  
  /* Visible elements */
  .nav:hover .nav__logo-name {
    opacity: 1;
  }
  .nav:hover .nav__subtitle {
    opacity: 1;
  }
  .nav:hover .nav__name {
    opacity: 1;
  }
  .nav:hover .nav__dropdown-icon {
    opacity: 1;
  }
}

@media screen and (max-width:600px) {
    /* One Card */
    .onecard__image__container{
      flex-direction: column;
      height: 570px;
    }
}



.text-light {
  color: #babbbc !important;
}

.btn-facebook {
  border-color: rgba(0, 0, 0, 0);
  background  : #3B5998;
  color       : #fff;
}

.btn-instagram {
  border-color: rgba(0, 0, 0, 0);
  background  : #000;
  color       : #fff;
}

.card {
  background-clip: padding-box;
  box-shadow     : 0 1px 4px rgba(24, 28, 33, 0.012);
}

.row-bordered {
  overflow: hidden;
}

.account-settings-fileinput {
  position  : absolute;
  visibility: hidden;
  width     : 1px;
  height    : 1px;
  opacity   : 0;
}

.account-settings-links .list-group-item.active {
  font-weight: bold !important;
}

html:not(.dark-style) .account-settings-links .list-group-item.active {
  background: transparent !important;
}

.account-settings-multiselect~.select2-container {
  width: 100% !important;
}

.light-style .account-settings-links .list-group-item {
  padding     : 0.85rem 1.5rem;
  border-color: rgba(24, 28, 33, 0.03) !important;
}

.light-style .account-settings-links .list-group-item.active {
  color: #4e5155 !important;
}

.material-style .account-settings-links .list-group-item {
  padding     : 0.85rem 1.5rem;
  border-color: rgba(24, 28, 33, 0.03) !important;
}

.material-style .account-settings-links .list-group-item.active {
  color: #4e5155 !important;
}

.dark-style .account-settings-links .list-group-item {
  padding     : 0.85rem 1.5rem;
  border-color: rgba(255, 255, 255, 0.03) !important;
}

.dark-style .account-settings-links .list-group-item.active {
  color: #fff !important;
}

.light-style .account-settings-links .list-group-item.active {
  color: #4E5155 !important;
}

.light-style .account-settings-links .list-group-item {
  padding     : 0.85rem 1.5rem;
  border-color: rgba(24, 28, 33, 0.03) !important;
}