﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

.container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

html,
body {
  height: 100%;
}

html {
  --mat-menu-item-label-text-font: 'Manrope', sans-serif;
  --mat-menu-item-label-text-size: $px-14;
  --mat-menu-item-label-text-line-height: $px-20;
  --mat-menu-item-label-text-weight: 500;
  --mat-menu-item-label-text-tracking: 0;
  --mat-menu-item-label-text-color: $text-500;
}

body {
  margin: 0;
  background-color: #fff;
  color: #5c5c5c;
  font-size: 16px;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  line-height: 1.3;
}

.mt-16 {
  margin-top: 16px !important;
}

.mt-40 {
  margin-top: 40px !important;
}

.mt-80 {
  margin-top: 80px !important;
}

.subtitle-1,
.body-1 {
  font-size: 16px;
  line-height: 24px;
}

.subtitle-2,
.body-2 {
  font-size: 14px;
  line-height: 20px;
}

.subtitle-1,
.subtitle-2 {
  font-weight: 600;
}

h3 {
  font-size: 24px;
  line-height: 32px;
}

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  background-color: #0063cc;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  border: none;
  border-radius: 0.25rem;
  transition: all 0.1s ease-in-out;
  text-decoration: none;
}

.btn:hover {
  opacity: 0.8;
  color: #fff;
  outline: none;
}

.btn-secondary {
  background-color: #ebf4ff;
  color: #0063cc;
}

.btn-secondary:hover {
  background-color: #c2dfff;
  color: #004fa3;
}

.btn-remove {
  color: #00b04f !important;
  font-size: 70%;
  cursor: pointer;
  text-decoration: underline;
}

a {
  color: #5c5c5c;
}

.text-center {
  text-align: center;
}

.title h4 {
  font-size: 1.4rem;
  font-weight: 400;
}

.title span {
  font-size: 0.7rem;
}

.title p {
  padding-left: 10px;
  padding-right: 10px;
}

.dev-hidden {
  display: none !important;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.wrap-media img,
.wrap-media iframe {
  width: 100%;
  height: 100%;
}

.wrap-video_full {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}

.wrap-video_full iframe {
  position: absolute;
  top: 0;
  left: 0;
}

iframe {
  width: 100%;
  height: 100%;
}

/* Header */

header {
  display: flex;
  align-items: center;
  min-height: 48px;
  width: 100%;
  background-color: #f5f5f5;
}

.breadcrumb {
  display: inline-flex;
  margin: 0;
  padding: 0;
  list-style: none;
  background: none;
  color: #5c5c5c;
}

.breadcrumb-item {
  font-size: 14px;
}

.breadcrumb-item:last-of-type {
  color: #070707;
}

.breadcrumb-item + .breadcrumb-item::before {
  padding-right: 6px;
}

.breadcrumb a {
  color: #5c5c5c;
  text-decoration: none;
}

.breadcrumb .divider {
  margin: 0 8px;
}

.navbar-toggler {
  display: flex;
  flex-direction: column;
  padding: 8px;
  margin-right: 4px;
  color: #0063cc;
}

.navbar-toggler:focus {
  background-color: #c2dfff;
  color: #004fa3;
  outline: none;
}

.navbar-toggler .material-icons {
  font-size: 18px;
}

.navbar-toggler-bar {
  height: 3px;
  width: 100%;
  margin: 2px 0;
  background-color: #fff;
}

.navbar-collapse {
  position: absolute;
  top: 44px;
  right: 20px;
  min-width: 160px;
  background-color: #fff;
  transition: none;
  z-index: 2;
  border-radius: 4px;
  box-shadow: 0px 4px 24px rgba(7, 7, 7, 0.08);
}

.navbar-collapse .navbar-nav {
  padding: 8px 0;
}

.navbar-collapse .nav-item {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  color: #5c5c5c;
}

.navbar-collapse .nav-item:hover {
  background-color: #ebf4ff;
  color: #0063cc;
}

.navbar-collapse .nav-item a,
.navbar-collapse .nav-item .btn {
  width: 100%;
  padding: 4px;
  /* color: #5c5c5c; */
  /* font-size: 14px; */
  /* line-height: 20px; */
  /* text-align: left; */
}

.navbar-collapse .nav-item .btn:hover {
  opacity: 1;
}

.navbar-collapse .nav-item .form-inline {
  width: 100%;
}

/* Footer */

.footer {
  background-color: #00b04f;
  color: #f7f7f7;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

.footer a {
  color: #fff;
  text-decoration: underline;
}

/* Home */

main {
  padding-bottom: 60px;
}

.step-nav {
  margin: 35px 0;
  min-height: 25px;
}

.step-nav a,
.step-nav b {
  color: #00b050 !important;
}

.step-nav b {
  margin-right: 20px;
  font-size: 1.1rem;
}

.step-nav a {
  font-size: 0.95rem;
  text-decoration: underline;
}

.home .space {
  margin: 60px 0;
}

.home .title h3 {
  margin-bottom: 0;
  font-weight: 700;
}

.feature {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 25px;
}

.feature img {
  width: 48px;
  margin-right: 38px;
}

.feature p {
  margin-bottom: 0;
}

.wrap-ai {
  padding: 10px 0;
  background-color: #fff;
  text-align: center;
}

.wrap-ai img {
  height: 23px;
}

.cards-image img {
  width: 100%;
}

.video-block {
  margin: 18px 0;
  background-color: #f5f0e3;
}

.video-block .container {
  display: flex;
  flex-direction: row;
}

.video-block .wrap-media {
  width: 16.666%;
  margin-right: 16.666%;
  height: 140px;
}

.video-block.space-left .wrap-media {
  margin-right: 0;
  margin-left: 16.666%;
}

.example-cards {
  margin: 44px 0;
}

.example-cards-block {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.cards-text {
  min-width: 16.666%;
  width: 16.666%;
  padding: 0 15px;
  font-weight: bold;
  text-align: center;
}

.article {
  color: #070707;
  margin-bottom: 30px;
}

.article ul {
  padding-left: 0;
}

.article ul li {
  margin-bottom: 8px;
  line-height: 24px;
}

.article img {
  width: 100%;
}

.article a {
  color: #7f8080;
  text-decoration: underline;
}

.article .table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.article table {
  width: 100%;
}

.article table thead th {
  padding: 16px;
  background-color: #f5f5f5;

  font-weight: 500;
}

.article table thead th .subtitle-2 {
  display: inline-block;
  max-width: 12ch;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  font-weight: 600;
}

.article table .body-2 {
  color: #5c5c5c;
}

.article table th,
.article table td {
  border-bottom: 1px solid #d6d6d6;
}

.article table tr:last-of-type td {
  border-bottom: none;
}

.article table td {
  padding: 10px 16px;
  font-size: 14px;
  line-height: 20px;
}

.article-block {
  display: flex;
  flex-direction: column;
}

.article-block .part-left {
  flex: 1 1;
  padding-right: 140px;
}

.article-block .title {
  margin: 25px 0;
}

.article-block .title h4 {
  margin-bottom: 0;
}

.article-block .title span {
  position: relative;
  top: -1px;
}

.article-block .top-part {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
}

.article-block .video {
  width: 100%;
  padding-right: 140px;
}

.article-block .sidebar {
  width: 270px;
  min-width: 270px;
  padding: 8px 16px;
  background-color: #fff;
  text-align: center;
}

.article-block .sidebar h5 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: bold;
}

.article-block .sidebar .block {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  margin: 30px 0;
  font-size: 0.8rem;
  text-decoration: none;
  text-align: left;
}

.article-block .sidebar .block:last-of-type {
  margin-bottom: 20px;
}

.article-block .sidebar img {
  height: 70px;
}

.article-block .sidebar span {
  padding: 6px 10px 0 18px;
}

.article-block .content {
  margin-right: 270px;
  padding-right: 140px;
}

.article-block.without-video .content {
  margin-right: 0;
}

/* Cases more */

.articles-more {
  margin: 50px 0;
  padding-right: 400px;
}

.articles-more .title {
  margin-bottom: 32px;
}

.article-more {
  display: flex;
  flex-direction: row;
  margin-bottom: 16px;
}

.article-more .wrap-media {
  width: 280px;
  min-width: 280px;
  height: 150px;
  margin-right: 16px;
}

.article-more .wrap-content {
  padding: 10px 0;
  font-size: 0.9rem;
}

.article-more .wrap-content p {
  margin-bottom: 0;
}

/* Edit */

.wrap-btn {
  display: flex;
  flex-direction: row;
}

.wrap-btn .btn {
  margin-right: 8px;
}

.custom-file-upload {
  cursor: pointer;
  text-decoration: underline;
}

.formEdit input[type='file'] {
  display: none;
}

.formEdit .btn-remove {
  position: relative;
  top: -4px;
}

.formEdit .ck-editor {
  width: 100%;
  margin-left: 15px;
  padding-right: 15px;
}

.formEdit .ck-editor__editable.ck-rounded-corners,
.ck-rounded-corners .ck-editor__editable {
  background-color: #fff;
}

/* Articles */

.table-title {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.table-title h4 {
  margin-right: 30px;
}

.table-title a {
  font-size: 14px;
  text-decoration: underline;
}

.sub-title {
  display: inline-block;
  margin: 11px 6px;
  color: #212529;
}

.articles-position {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 10px;
}

.articles-position .col-auto:first-of-type {
  width: 40px;
}

.articles-position input[type='number'] {
  width: 60px;
}

.articles-position .inline-btn {
  color: #0063cc !important;
  font-size: 70%;
  cursor: pointer;
  text-decoration: underline !important;
  margin-right: 10px;
  cursor: pointer !important;
}

.articles-position .wrap-input {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.articles-position .wrap-input .form-control {
  padding: 1px 2px 1px 10px;
}

.articles-position .wrap-input .form-control.is-invalid {
  padding-right: 5px;
  background-image: none;
}

.articles-position .wrap-input .invalid-feedback {
  margin-left: 8px;
}

@media (max-width: 1200px) {
  .article-block .video {
    padding-right: 90px;
  }

  .article-block .sidebar {
    width: 250px;
    min-width: 250px;
  }

  .article-block .content {
    margin-right: 250px;
    padding-right: 90px;
  }

  .articles-more {
    padding-right: 340px;
  }

  .article-more .wrap-media {
    width: 240px;
    min-width: 240px;
  }
}

@media (max-width: 1000px) {
  .video-block .wrap-media {
    width: 23%;
    margin-right: 10%;
  }

  .video-block.space-left .wrap-media {
    margin-left: 10%;
  }

  .article-block .video {
    padding-right: 50px;
  }

  .article-block .sidebar {
    width: 240px;
    min-width: 240px;
  }

  .article-block .sidebar img {
    height: 50px;
  }

  .article-block .content {
    margin-right: 240px;
    padding-right: 50px;
  }

  .articles-more {
    padding-right: 0;
  }
}

@media (min-width: 769px) {
  header .container {
    padding: 0 4rem;
  }

  .home .container {
    padding-left: 100px;
  }

  .article-block.without-video {
    flex-direction: row-reverse;
  }

  .article-block.without-video .title {
    margin-top: 0;
  }

  .article-block.without-sidebar .video {
    margin-right: 270px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .container,
  .container-big {
    padding: 0 10px;
  }

  .navbar {
    padding: 0;
  }

  main {
    padding-bottom: 30px;
  }

  .link-account {
    right: 40px;
    top: 4px;
  }

  .step-nav {
    margin: 12px 0 25px;
  }

  .step-nav b {
    font-size: 1rem;
  }

  .step-nav a {
    font-size: 0.85rem;
  }

  .home .container {
    padding: 0 15px;
  }

  .home .space {
    margin: 30px 0;
  }

  .home .title {
    text-align: center;
  }

  .feature {
    align-items: flex-start;
  }

  .feature img {
    width: 40px;
    margin-top: 2px;
    margin-right: 20px;
  }

  .title p {
    margin-bottom: 0;
  }

  .example-cards {
    margin: 0;
  }

  .example-cards-block {
    flex-direction: column;
    align-items: flex-start;
  }

  .cards-text {
    min-width: auto;
    padding: 18px 0 28px;
    border-top: 10px solid #fff;
  }

  .cards-image {
    overflow: auto;
  }

  .cards-image img {
    min-width: 700px;
    padding-bottom: 30px;
  }

  .video-block {
    margin: 0;
    background-color: transparent;
  }

  .video-block .container {
    flex-direction: column;
  }

  .video-block .wrap-media,
  .video-block.space-left .wrap-media {
    width: 250px;
    margin: 0 auto 32px;
  }

  .article .step-nav {
    display: none;
  }

  .article-block .title {
    margin: 20px 0 16px;
  }

  .article-block .top-part {
    flex-direction: column;
  }

  .article-block .video {
    padding-right: 0;
  }

  .article-block .video .wrap-video_full,
  .article-block .sidebar {
    width: calc(100% + 20px);
    margin-left: -10px;
  }

  .article-block .sidebar {
    display: flex;
    flex-flow: row wrap;
  }

  .article-block .sidebar h5 {
    width: 100%;
  }

  .article-block .sidebar .block {
    flex-direction: column;
    align-items: center;
    width: 33.33%;
    margin: 15px 0;
    padding: 0 5px;
    text-align: center;
  }

  .article-block .sidebar span {
    padding: 10px 10px 0 10px;
  }

  .article-block .content {
    margin: 0;
    padding: 0 10px;
  }

  .articles-more {
    position: relative;
    margin: 70px 0 30px;
    padding-right: 0;
  }

  .articles-more:before {
    content: '';
    position: absolute;
    width: calc(100% + 20px);
    height: 10px;
    top: -30px;
    left: -10px;
    background-color: #fff;
  }

  .articles-more .title {
    margin-bottom: 16px;
  }

  .article-more {
    margin-bottom: 14px;
  }

  .article-more .wrap-media {
    width: 260px;
    min-width: 260px;
  }
}

@media (min-width: 576px) {
  header .container {
    max-width: none;
  }
}

@media (max-width: 550px) {
  html {
    font-size: 13px;
  }

  main {
    padding-bottom: 20px;
  }

  .mt-m-40 {
    margin-top: 40px !important;
  }

  .title h4 {
    font-size: 1.2rem;
  }

  .home .space {
    margin: 20px 0;
  }

  .wrap-ai {
    padding: 5px 0;
  }

  .wrap-ai img {
    display: none;
  }

  .article-block .sidebar .block {
    margin: 10px 0;
  }

  .article-more .wrap-media {
    width: 50%;
    min-width: 50%;
    height: 130px;
  }
}

.link-as-btn {
  color: white;
  cursor: pointer;
}

/* new */

.mr-8 {
  margin-right: 8px !important;
}

.tag {
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
  padding: 8px 16px;
  background-color: #fff;
  color: #0063cc;
  font-size: 14px;
  line-height: 20px;
  border: 1px solid #0063cc;
  border-radius: 40px;
  cursor: default;
}

.tag a {
  margin-left: 8px;
  color: #0063cc;
  font-size: 16px;
}

.resources-grid {
  padding: 0 24px;
  background-color: #ebf4ff;
  border-radius: 8px;
}

.resources-grid .block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #c2dfff;
}

.resources-grid .block:last-of-type {
  border-bottom: none;
}

.resources-grid .block img {
  height: 24px;
  width: 24px;
}

.btn-icon {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  color: #0063cc;
  background-color: transparent;
  font-size: 14px;
  line-height: 20px;
}

.btn-icon:hover {
  color: #0063cc;
}

.btn-icon img {
  margin-right: 8px;
}

.btn-link {
  justify-content: flex-start;
  background-color: transparent;
  color: #5c5c5c;
  font-size: 16px;
  font-weight: 500;
}

.btn-link:hover {
  color: #0056b3;
}

.page-item.active .page-link {
  background-color: #0063cc;
  border-color: #0063cc;
}
