@import './variables.scss';
@import './bootstrap/bootstrap.scss';

// @font-face {
//   font-family: 'AvenirLight';
//   font-display: swap;
//   src: url('../fonts/AvenirLight.eot');
//   src: url('../fonts/AvenirLight.eot') format('embedded-opentype'),
//     url('../fonts/AvenirLight.woff2') format('woff2'),
//     url('../fonts/AvenirLight.woff') format('woff'),
//     url('../fonts/AvenirLight.ttf') format('truetype'),
//     url('../fonts/AvenirLight.svg#AvenirLight') format('svg');
// }

// @font-face {
//   font-family: 'AvenirRegular';
//   font-display: swap;
//   src: url('../fonts/AvenirRegular.eot');
//   src: url('../fonts/AvenirRegular.eot') format('embedded-opentype'),
//     url('../fonts/AvenirRegular.woff2') format('woff2'),
//     url('../fonts/AvenirRegular.woff') format('woff'),
//     url('../fonts/AvenirRegular.ttf') format('truetype'),
//     url('../fonts/AvenirRegular.svg#AvenirRegular') format('svg');

// }


// helper classes 
/* bootstrap-overrides.css */
.container {
  max-width: none !important;
}

@media (min-width: 64rem) {
  .container {
    max-width: 64rem !important;
  }
}

@media (min-width: 80rem) {
  .container {
    max-width: 80rem !important;
  }
}

@media (min-width: 96rem) {
  .container {
    max-width: 96rem !important;
  }
}
header nav a {
	color: var(--color-gray-600);
}
.d-none {
	display: none !important;
}
.mb-4\.5 {
  margin-bottom: 2.5rem !important;
}

.mb-4\.2 {
  margin-bottom: 2rem !important;
}

.font-weight-semibold {
  font-weight: 600 !important;
}

.title-ellipsis-1 {
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
}

.title-ellipsis-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
}

.title-ellipsis-3 {
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
}

a {
  transition: 0.2s all ease-in;
}

a:hover {
  text-decoration: none;
}

// body.cookie-denied a:not(.nav-link), body.cookie-denied .package-buy-now {
//   pointer-events: none;
// }
.footer-links a,
.dropdown-menu a,
.profile-navigation a {
  pointer-events: initial !important;
}

.cc-window.cc-banner a {
  pointer-events: initial !important;
}

.cc-message {
  color: inherit;
}

// bootstrap overrides
.card {
  border: none;
}

.form-control {
  border-radius: 0;
  border-width: 0 0 1px;
  border-bottom-color: #e7e7ed;
  color: #70778b;
  font-size: 14px;

  &:focus {
    box-shadow: none;
  }

  &::placeholder {
    color: #999999;
    opacity: 1;
    /* Firefox */
  }

  &:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #999999;
  }

  &::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #999999;
  }
}

// bootstrap overrides end

// General styles
* {
  transition-duration: 0.1s;
  transition-property: color, background-color;
}

.cc-revoke,
.cc-window {
  font-size: 14px !important;
}

.cc-window.cc-banner {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

a.cc-btn.cc-allow {
  background: var(--color-tertiary) !important;
}

a.cc-btn.cc-allow:hover {
  background: var(--color-golden-2) !important;
}

// h1,
// h2,
// h3,
// h4,
// h5,
// h6 {
//   font-family: 'AvenirRegular', sans-serif;
//   line-height: 1.3;
//   color: var(--color-primary);
// }

.main {
  // background-color: #f8f8f8;
  min-height: 500px;
}

a {
  text-decoration: none;
  background-color: transparent;
}

.bg-tertiary {
  background-color: $color-tertiary !important;
}

img {
  max-width: 100%;
}

// body {
//   font-family: 'AvenirRegular', sans-serif;
//   font-size: 14px;
// }

// p,
// span,
// div,
// input,
// select,
// textarea {
//   color: oklch(37.3% 0.034 259.733);
// }

input[required]+label:not(.required-span):after,
input[required]+label.required-span span:after,
select[required]+label:after,
textarea[required]+label:after,
button.requried:after {
  content: " *";
  color: #e32;
  display: inline;
  position: relative;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
}

.file-upload-button~.preview {
  display: inline-block;
}

.br-3 {
  border-radius: 3rem;
}

.rotate-90 {
  transform: rotate(90deg);
}

.icon-move {
  cursor: move;
}

.cursor-pointer {
  cursor: pointer;
}

.font-weight-500 {
  font-weight: 500;
}

.font-size-12 {
  font-size: 12px;
}

.font-size-13 {
  font-size: 13px;
}

.font-size-14 {
  font-size: 14px;
}

.font-size-16 {
  font-size: 16px;
}

.ajax-loader {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);

  span {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
  }
}

.page-title {
  margin: 40px 0;
}

.details-page-title {
  margin-top: 90px;
}

.article-property {
  color: #666666;
}

#notifications {
  cursor: pointer;
  position: fixed;
  left: 50%;
  z-index: 9999;
  top: 0px;
  margin-top: 40px;
  max-width: 400px;
  transform: translateX(-50%);
}

.socials {
  display: flex;
  gap: 5px;
  align-items: center;

  i {
    font-size: 36px;
  }

  .icon-facebook {
    color: #375D93;
  }

  .icon-twitter {
    border-radius: 4px;

    svg {
      width: 32px;
      height: 32px;
      padding: 4px;
      fill: #000;
    }
  }

  .icon-linkedin {
    color: #007EB3;
  }

  .icon-instagram {
    color: #f06292;
  }
}

iframe {
  max-width: 100%;
}

.nowrap {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

// General styles end

/* Header start */
.header-top {
  background: #F5F5F5;
  padding: 3px 30px 3px 0;
  text-align: right;

  button {
    background: none;
    border: none;
    color: #000;
    font-size: 14px;

    &.registration-button {
      border-radius: 4px;
      padding-top: 3px;
      padding-bottom: 3px;
    }
  }

  &.not-activated {
    text-align: center;
    font-size: 13px;

    a {
      color: #fff;
      text-decoration: underline;
    }
  }
}

.header {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: flex-end;
  height: 100px;
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;

  .row {
    height: 100%;

    .logo img {
      max-height: 75px;
    }

    .float-right .dropdown {
      .dropdown-item {
        font-size: 14px;

        &:hover {
          background-color: transparent;
          color: $color-primary !important;
        }

        i {
          margin-right: 15px;
          width: 15px;
        }
      }

      .dropdown-toggle {
        border-radius: 100%;
        cursor: pointer;
        width: 50px;
      }

      .dropdown-menu {
        top: 90%;
      }
    }
  }

  .signup-link {
    color: #fff;
  }
}

.navbar-wrapper {
  background: #fff;
  border-bottom: 1px solid #e7e7ed;

  .navbar {
    min-height: 50px;
    padding: 10px 0px;
    transition: all 0.05s ease-in;
    width: 100%;

    .logo img {
      max-height: 50px;
    }

    ul.navbar-nav {
      display: flex;
      width: 100%;
      padding: 0;
      margin: 0;
      justify-self: center;

      li.nav-item {
        list-style: none;
        flex: 1 1 auto;

        a.nav-link {
          color: $color-primary;
          transition: 0.2s all ease-in;
          font-size: 16px;
          font-style: normal;
          font-weight: 400;
          position: relative;

          &:hover,
          &:focus,
          &.active {
            color: white;
            background: $color-primary;
          }
        }

        .dropdown-menu {
          margin-top: 0;

          a.dropdown-item {
            font-size: 14px;
          }
        }

        .dropdown-toggle::after {
          position: absolute;
          right: 15px;
          top: 50%;
          transform: translateY(-50%);
          transition: transform 0.15s linear;
          visibility: hidden;
        }

        &:hover .dropdown-toggle::after {
          visibility: visible;
        }

        &.show.dropdown .dropdown-toggle::after {
          transform: translateY(3px);
        }
      }
    }
  }
}

/* Header end */

/* Footer start */
.footer {
  background-color: $color-primary;
  padding-bottom: 20px;
  padding-top: 40px;
  width: 100%;

  .footer-logo {
    width: 160px;
  }

  .form-area {
    text-align: center;
    width: 80%;

    p {
      color: white;
      font-family: "HeaderFont";
      font-size: 18px;
      font-style: italic;
      font-weight: 700;
    }

    .subscribe {
      padding: 10px 0;

      input {
        font-size: 14px;
      }

      input[type=submit] {
        background-color: $color-tertiary;
        border-color: $color-tertiary;
        color: #000;

        &:hover {
          background-color: var(--color-golden-2);
        }
      }
    }
  }

  .social-links {
    display: block;
    height: unset;

    .icons {
      display: flex;
      justify-content: space-between;
      padding-bottom: 10px;

      a {
        color: #fff;
        display: inline-block;
        height: 30px;
        position: relative;
        width: 30px;

        i.fab {
          color: rgb(255, 255, 255);
          font-size: 24px;
        }

        svg {
          font-size: 24px;
        }
      }
    }
  }

  .footer-links-wrapper {
    height: 100%;
  }

  .footer-links {
    height: 100%;
    padding-left: 20px;

    ul {
      display: flex;
      flex-direction: column;
      height: 100%;
      justify-content: space-between;
      margin: 0;
      padding: 3px 0;

      li {
        font-size: 16px;
        list-style: none;
        margin-bottom: 15px;

        a {
          color: rgb(255, 255, 255);
        }
      }
    }
  }
}

.footer-bottom {
  background-color: #002a52;
  padding-bottom: 20px;
  padding-top: 20px;
  width: 100%;

  .copyright {
    color: #fff;
    font-size: 14px;
    margin: 0;
  }
}

/* Footer end */

@media only screen and (max-width: 767px) {
  .header {
    display: none;
  }
}

@media only screen and (min-width: 768px) {
  .navbar-wrapper .logo {
    display: none;
  }

  .navbar-wrapper .navbar ul.navbar-nav li.nav-item {
    text-align: center;
  }

  .w-md-auto {
    width: auto !important;
  }
}

@media only screen and (max-width: 575px) {
  .footer {
    .form-area {
      width: 100%;
    }

    .footer-links {
      padding-left: 0;
      border-top: 0.1px solid $color-secondary;
      border-left: 0;
      padding-top: 20px;
    }
  }
}



.form-label-group {
  position: relative;
  margin-bottom: 1rem;
}

.form-label-group input,
.form-label-group select,
.form-label-group label {
  height: 3.125rem;
  padding: .75rem;
}

.form-label-group textarea {
  padding: .75rem;
}

.form-label-group label {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  margin-bottom: 0;
  /* Override default `<label>` margin */
  line-height: 1.5;
  color: #495057;
  pointer-events: none;
  cursor: text;
  /* Match the input under the label */
  border: 1px solid transparent;
  border-radius: .25rem;
  transition: all .1s ease-in-out;
}

.form-label-group.input-group label {
  margin-left: 35px;
}

.form-label-group.input-group>.form-control:focus {
  z-index: unset;
}

.form-label-group input::-webkit-input-placeholder,
.form-label-group select::-webkit-input-placeholder,
.form-label-group textarea::-webkit-input-placeholder {
  color: transparent;
}

.form-label-group input::-moz-placeholder,
.form-label-group select::-moz-placeholder,
.form-label-group textarea::-moz-placeholder {
  color: transparent;
}

.form-label-group input:-ms-input-placeholder,
.form-label-group select:-ms-input-placeholder,
.form-label-group textarea:-ms-input-placeholder {
  color: transparent;
}

.form-label-group input::-ms-input-placeholder,
.form-label-group select::-ms-input-placeholder,
.form-label-group textarea::-ms-input-placeholder {
  color: transparent;
}

.form-label-group input::placeholder,
.form-label-group select::placeholder,
.form-label-group textarea::placeholder {
  color: transparent;
}

.form-label-group input:not(:-moz-placeholder-shown),
.form-label-group select:not(:-moz-placeholder-shown),
.form-label-group textarea:not(:-moz-placeholder-shown) {
  padding-top: 1.25rem;
  padding-bottom: .25rem;
}

.form-label-group input:not(:-ms-input-placeholder),
.form-label-group select:not(:-ms-input-placeholder),
.form-label-group textarea:not(:-ms-input-placeholder) {
  padding-top: 1.25rem;
  padding-bottom: .25rem;
}

.form-label-group input:not(:placeholder-shown),
.form-label-group select:not(:placeholder-shown),
.form-label-group textarea:not(:placeholder-shown) {
  padding-top: 1.25rem;
  padding-bottom: .25rem;
}

.form-label-group input:not(:-moz-placeholder-shown)~label,
.form-label-group select:not(:-moz-placeholder-shown)~label,
.form-label-group textarea:not(:-moz-placeholder-shown)~label {
  padding-top: .25rem;
  padding-bottom: .25rem;
  font-size: 12px;
  color: #777;
}

.form-label-group input:not(:-ms-input-placeholder)~label,
.form-label-group select:not(:-ms-input-placeholder)~label,
.form-label-group textarea:not(:-ms-input-placeholder)~label {
  padding-top: .25rem;
  padding-bottom: .25rem;
  font-size: 12px;
  color: #777;
}

.form-label-group input:not(:placeholder-shown)~label,
.form-label-group select:not(:placeholder-shown)~label,
.form-label-group textarea:not(:placeholder-shown)~label {
  padding-top: .25rem;
  padding-bottom: .25rem;
  font-size: 12px;
  color: #777;
}

.form-label-group input:-webkit-autofill~label,
.form-label-group select:-webkit-autofill~label,
.form-label-group textarea:-webkit-autofill~label {
  padding-top: .25rem;
  padding-bottom: .25rem;
  font-size: 12px;
  color: #777;
}

.form-label-group .file-upload-button {
  position: absolute;
  right: 10px;
  top: 6px;
}

.django-ckeditor-widget {
  max-width: 100%;
}

.cke {
  max-width: 100%;
}

/* Fallback for Edge
-------------------------------------------------- */
@supports (-ms-ime-align: auto) {
  .form-label-group {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }

  .form-label-group label {
    position: static;
  }

  .form-label-group input::-ms-input-placeholder,
  .form-label-group textarea::-ms-input-placeholder {
    color: #777;
  }
}

.modal-title {
  font-size: 12px;
  font-weight: normal;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.modal-body {
  font-size: 14px;
}

.modal-header {
  align-items: center;
  padding: 0.75rem 1rem;
}

#login-modal,
#registration-modal {
  color: #70778b;

  .modal-dialog {
    max-width: 450px;
  }

  .form-label-group {
    margin-bottom: 20px;
  }

  .form-label-group input {
    height: calc(1.5em + 0.5rem + 2px);
    padding: 0.25rem 0.5rem;
  }

  .form-label-group label {
    height: auto;
    padding: 0;
  }

  .form-label-group label {
    top: 5px;
    left: 7px;
  }

  .form-label-group input:not(:placeholder-shown),
  .form-label-group select:not(:placeholder-shown),
  .form-label-group textarea:not(:placeholder-shown) {
    padding-bottom: 0;
  }

  .form-label-group input:not(:placeholder-shown)~label,
  .form-label-group select:not(:placeholder-shown)~label,
  .form-label-group textarea:not(:placeholder-shown)~label {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: -15px;
  }
}

.custom-control-label::before {
  top: 0.15rem;
}

.contact-left {
  font-size: 15px;
}

button[data-target="#login-modal"]:hover {
  color: var(--color-golden-2);
}

.registration-button.bg-tertiary:hover {
  background-color: var(--color-golden-2) !important;
}

.card-heading {
  font-size: 16px;
  line-height: 24px;
}

// start single card
.single-card-wrapper {
  box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.05);
  height: 100%;
  border-radius: 5px;
  width: 100%;
}

.single-card-details {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.single-card-details .category a {
  background: var(--color-primary);
  color: #fff;
  padding: 2px 10px;
  font-size: 12px;
}

.single-card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.single-card-content-bottom {
  border-top: 1px solid #f3f3f6;
  padding: 10px 0;
  margin-top: 20px;
}

.single-card-details .image-wrapper {
  padding-top: 56.25%;
  position: relative;
  width: 100%;
}

.single-card-details .image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.single-card-details .category a:hover {
  background: var(--color-blue-2);
}

.single-card-details .image-wrapper a img {
  transition: 0.2s all ease-in;
  border-radius: 5px;
}

.single-card-details .image-wrapper a:hover img {
  filter: brightness(.75);
}

// end single card

.single-card-content .etf-card-title {
  font-size: 16px;
  line-height: 24px;
}

.col-single-top-section .single-card-content .etf-card-title {
  font-size: 20px;
  line-height: 28px;
}


.navbar-dark .navbar-toggler {
  border-color: var(--color-primary);
}

.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 47, 88, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 0.5rem;
  padding-left: 0.5rem;
}

.grecaptcha-badge {
  display: none !important;
}

@media screen and (min-width:768px) {
  .col-right-side-cards .single-card-content {
    min-height: 64px;
  }
}

@media screen and (max-width:767px) {
  .description img {
    width: 100% !important;
    height: auto !important;
  }
}

.subscription-ads-sidebar {
	display: none;
}