@import url("https://fonts.googleapis.com/css?family=Poppins:400,800");

* {
  box-sizing: border-box;
  margin: 0px;
}

html {
  background: #f6f5f7;
  font-family: Poppins, sans-serif;
}

footer {
  /*background-color: #f6f5f7;*/
  background-color: #ffffff;
  color: #3d3d3d;
  font-size: 14px;
  text-align: center;
  bottom: 0;
  left: 0;
  right: 0;
}

footer p {
  padding: 10px;
}

.navbar {
  height: 80px;
  background-color: white;
  max-width: 1390px;
  margin: auto;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 10%;
  background: #fff;
}

#logo {
  cursor: pointer;
  height: 40px;
}

.hidden {
  display: none !important;
  visibility: hidden !important;
}

.page-content {
  padding-bottom: 50px;
}

/* ==============USER============== */
header img {
  height: 40px;
  transition: 0.2s;
}

header .dropbtn:hover {
  opacity: 0.6;
  transition: 0.2s;
}

/* ==============USER============== */
.card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: 250px;
  gap: 0 0;
  grid-auto-flow: row;
  grid-template-areas: "card_images card_content";
  background-color: white;
  max-width: 1000px;
  max-height: 250px;
  margin: 30px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 5px;
  transition: 0.3s;
}

.card:hover {
  -webkit-box-shadow: 0px 5px 25px -3px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 5px 25px -3px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}

.card_images {
  grid-area: card_images;
  overflow: hidden;
  border-radius: 5px 0 0 5px;
}

.card_images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card_content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 0.7fr 1.3fr 1fr;

  grid-auto-flow: row;
  grid-template-areas:
    "card_title card_title card_title"
    "card_description card_description card_description"
    "card_details card_details card_details";
  grid-area: card_content;
}

.card_title {
  grid-area: card_title;
}

.card_description {
  grid-area: card_description;
  margin-right: 1em;
  margin-left: 1em;
  border-bottom: silver;
}

.card_description p {
  color: #666666;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card_details {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas: "left_details empty_area button_area";
  grid-area: card_details;
}

.left_details {
  grid-area: left_details;
}

.empty_area {
  grid-area: empty_area;
}

.button_area {
  grid-area: button_area;
}

.main {
  max-width: 1390px;
  margin-left: auto;
  margin-right: auto;
}

button {
  border-style: none;
  height: 3em;
  width: 10em;
  float: right;
  border-radius: 5px;
  margin-top: 1em;

  background-color: #2375b7;
  color: white;
  font-size: 1.1em;
}

button:hover {
  background-color: #2966a7;
  transition: 0.3s;
  cursor: pointer;
}

.button_continue {
  background: rgb(231, 151, 12);
  transition: 0.2s;
}

.button_continue:hover {
  background: rgb(207, 135, 10);
  transition: 0.2s;
}

.button_finished {
  background: rgba(124, 191, 59, 1);
  transition: 0.2s;
}

.button_finished:hover {
  background: rgb(108, 173, 42);
  transition: 0.2s;
}

.card_title {
  margin-right: 1em;
  margin-left: 1em;
  margin-top: 1em;
}

.card_details {
  margin-right: 1em;
  margin-left: 1em;
  text-align: left;
}

.time img {
  float: left;
}

.time p {
  margin-left: 30px;
}

.language img {
  float: left;
}

.language p {
  margin-left: 30px;
}

.name p {
  color: #666666;
  font-size: 14px;
  margin-bottom: 5px;
}

.course_title {
  background-color: #3d3d3d;
}

.course_title h1 {
  color: white;
  max-width: 1390px;
  margin-left: auto;
  margin-right: auto;
  height: 50px;
  padding-left: 20px;
  font-weight: 700;
  font-size: 30px;
}

.course_description {
  max-width: 1390px;
  margin: auto;
  margin-top: 40px;
}

ul {
  padding-left: 0;
}

.resources {
  margin-bottom: 10px;
}

.download_link {
  margin-top: 15px;
}

.download_link a {
  color: #2375b7;
  text-decoration: none;
}

.download_link img {
  margin-right: 15px;
}

.download_link:hover {
  text-decoration: underline;
}

/* ===============COURSE CONTAINER=============== */
.course_container {
  display: grid;
  grid-template-columns: 0.7674fr 0.2326fr;
  grid-template-rows: 1fr;
  grid-auto-flow: row;
  grid-template-areas: "video_area list_area";
  max-width: 1390px;
  margin: auto;
  background-color: white;
}

.video_area {
  grid-area: video_area;
  height: 600px;
}

.list_area {
  grid-area: list_area;
  background-color: white;
  overflow: scroll;
  height: 600px;
}

.list_area h2 {
  text-align: center;
}

.list li {
  width: 100%;
  list-style: none;
  border-bottom: 1px solid #d1d1d1;
}

.lesson_title {
  height: 70px;
  padding-top: 1em;
  padding-left: 0px;
  line-height: 1.5em;
}

.lesson_title ul {
  padding-left: 0px;
}

.lesson_title.finished {
  background-color: #e8f2f8;
}

.lesson_link {
  text-decoration: none;
  color: #000000;
}

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

.content {
  height: 80px;
  padding-top: 1em;
  padding-bottom: 2em;
  border-bottom: 1px solid #d1d1d1;
  width: 100%;
}

.timer {
  color: #2966a7;
  font-size: 13px;
}

.lesson_title:hover {
  background-color: #f5f5f5;
}

.list li {
  padding-top: 10px;
  padding-bottom: 10px;
}

.list ul li {
  margin-left: 0;
}

.lesson_title img {
  float: left;
  padding-top: 15px;
  padding-right: 20px;
  padding-left: 15px;
}

/* ===============COURSE CONTAINER END=============== */
/* ===================DROP DOWN================== */
.dropbtn {
  color: white;

  font-size: 16px;
  border: none;
  cursor: pointer;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  right: 0px;
  display: none;
  text-align: center;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 200px;
  padding: 15px;

  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

#logout {
  background-color: #3073b9;
  color: white;
  min-width: 150px;
  padding: 12px;
  border-radius: 4px;
  margin-top: 10px;
}

#logout:hover {
  background-color: #205d9e;
}

#my_account {
  border-radius: 4px;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown a:hover {
  background-color: #ddd;
  transition: 0.2s;
}
.show {
  display: block;
}

/* =================FORM FORGOT PASS START=============== */
#forgot-password {
  margin-top: 20px;
  padding: 20px;
  background-color: white;
  border-radius: 10px;
}

.note-big-title {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 30px;
}
.form-group {
  text-align: center;
  margin-top: 20px;
}
.form-group label {
  display: none;
}
.form-control {
  background-color: #eee;
  border: none;
  padding: 12px 15px;
  margin-bottom: 10px;
  width: 300px;
  border-radius: 4px;
}
.buttons-holder button {
  background-color: #2375b7;
  border-radius: 50px;
  margin: 15px auto;
  float: inherit;
  display: block;
  width: 150px;
  height: 45px;
  font-size: 14px;
  font-weight: bold;
  transition: 0.3s;
}
.buttons-holder button:hover {
  background-color: #035697;
  transition: 0.3s;
}
.alert-warning {
  margin: 20px auto;
  max-width: 80%;
}
footer {
  background-color: #f6f5f7;
  color: #3d3d3d;
  font-size: 14px;
  bottom: 0;
  position: fixed;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 999;
}
.col-md-6 p {
  color: gray;
}
/* =================FORM FORGOT PASS END=============== */
/* =================FORM PASS RESET START=============== */
#reset {
  margin-top: 20px;
  padding: 20px;
  background-color: white;
  border-radius: 10px;
  max-width: 720px;
  margin: 20px auto;
}
.with-errors ul {
  padding: 0 180px;
  list-style: none;
  text-align: left;
  font-size: 13px;
  color: red;
}
.form-control-reset {
  margin: 0;
}
/* =================FORM PASS RESET END=============== */

/* =================COOKIE PAGE START=============== */
.notice-section {
  background-color: white;
  margin-top: 20px;
  padding-top: 20px;
  padding-left: 20px;
  border-radius: 10px;
}
.bg-white {
  font-size: 14px;
  text-align: justify;
}
.bg-white p {
  margin-left: 40px;
  margin-right: 20px;
}
.bg-white ul {
  margin-top: 20px;
  color: gray;
  margin-left: 60px;
}
.bg-white ol {
  margin-left: 30px;
  margin-right: 20px;
}

.bg-white h2 {
  margin-left: 20px;
  margin-right: 20px;
  font-size: 20px;
  margin-top: 20px;
  margin-bottom: 10px;
}
.bg-white h3 {
  margin-left: 30px;
  font-size: 15px;
  margin-top: 20px;
}
.table-responsive {
  max-width: 90%;
  margin: 0 auto;
}

.table-responsive td {
  color: grey;
  font-size: 10px;
  max-width: 350px;
  word-wrap: anywhere;
}
.table-responsive th {
  text-align: left;
}
/* =================COOKIE PAGE END=============== */

/* ===================DROP DOWN================== */
/* =================MEDIA QUERY================ */
@media only screen and (max-width: 870px) {
  .card {
    display: grid;
    grid-template-columns: 0fr 1fr;
    grid-template-rows: 300px;
    grid-auto-flow: row;
    grid-template-areas: "card_images card_content";
    background-color: white;
    max-width: 800px;
    max-height: 300px;
    margin: 30px;
    margin-left: 15px;
    margin-right: 15px;
    border-radius: 5px;
    transition: 0.3s;
  }

  .card_content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;

    grid-auto-flow: row;
    grid-template-areas:
      "card_title card_title card_title"
      "card_description card_description card_description"
      "card_details card_details card_details";
    grid-area: card_content;
  }

  #logo {
    float: left;
    height: 28px;
    margin-left: 10px;
  }

  .dropbtn {
    height: 36px;
    margin-top: 10px;
  }

  header {
    padding: 20px 20px;
  }

  .card_description p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  footer p {
    font-size: 12px;
  }
}

@media only screen and (max-width: 1390px) {
  .course_container {
    display: block;

    max-width: 800px;
    margin-left: auto;
    background-color: white;
  }

  .list_area {
    height: 300px;
  }

  .course_description {
    margin-left: 20px;
    margin-right: 20px;
  }

  .course_title {
    text-align: center;
  }

  .list_area h2 {
    text-align: left;
    padding-left: 30px;
  }

  .video_area img {
    width: 100%;
  }

  .video_area {
    height: 100%;
    width: 100%;
  }
}

/* =================MEDIA QUERY================ */

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
  .dismiss-cookie {
    font-size: 10px;
    width: 400px;
    height: 60px;
    margin-bottom: 10px;
    margin-left: 0;
  }
  .cookie-warning span,
  .cookie-warning a {
    max-width: 300px;
  }
}
@media (max-width: 576px) {
  .dismiss-cookie {
    font-size: 10px;
    width: 400px;
    height: 60px;
    margin-bottom: 10px;
    margin-left: 0;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
  .dismiss-cookie {
    font-size: 12px;
    width: 250px;
    height: 50px;
  }
}

@media (max-width: 620px) {
  .with-errors ul {
    padding: 0;
  }
  .form-control {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .with-errors ul {
    padding: 0 20px;
  }
  #reset {
    margin: 20px 20px;
  }
  .dismiss-cookie {
    font-size: 12px;
    max-width: 400px;
    height: 40px;
    margin-bottom: 10px;
    margin-left: 0;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
  .dismiss-cookie {
    font-size: 13px;
    width: 300px;
    height: 40px;
    margin-bottom: 20px;
    margin-left: 0;
  }
}
@media (max-width: 992px) {
  .notice-section {
    max-width: 90% !important;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

.container-fluid,
.container-sm,
.container-md,
.container-lg,
.container-xl {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  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;
  }
}
