@tailwind base;
@tailwind components;
@tailwind utilities;

h1 {
  @apply text-2xl;
}

h2 {
  @apply text-xl;
}

h3 {
  @apply text-lg;
  font-size: 1.125rem;
  /* 18px */
  line-height: 1.75rem;
  /* 28px */
}

.marketing-article-page iframe {
  display: inline;
}

@layer components {
  .login-form-spotlight {
    @apply flex items-center h-full px-20 bg-cover opacity-50;
    background-image: url(https://www.cmpsinstitute.org/images/bkgd-svg.svg);
  }

  .form-input {
    @apply block px-4 py-2 mt-2 text-gray-700 placeholder-gray-400 bg-white border border-gray-200 rounded-md focus:border-blue-400 focus:ring-blue-400 focus:outline-none focus:ring focus:ring-opacity-40;
  }

  .form-label {
    @apply block mb-2 text-sm text-gray-600;
  }

  .form-submit {
    @apply w-full px-4 py-2 tracking-wide text-white transition-colors duration-200 transform bg-blue-500 rounded hover:bg-blue-400 focus:outline-none focus:bg-blue-400 focus:ring focus:ring-blue-300 focus:ring-opacity-50;
  }

  .btn {
    @apply inline-block px-6 py-2.5 font-medium text-xs leading-tight uppercase rounded shadow-md hover:shadow-lg focus:shadow-lg focus:outline-none focus:ring-0 active:shadow-lg transition duration-150 ease-in-out;
  }

  .btn-fa {
    @apply inline-block px-6 py-2.5 font-medium text-xs leading-tight uppercase rounded shadow-md hover:shadow-lg focus:shadow-lg focus:outline-none focus:ring-0 active:shadow-lg transition duration-150 ease-in-out;
  }
}

@layer utilities {
  .crisp-edges {
    image-rendering: -moz-crisp-edges;
    /* Firefox */
    image-rendering: -o-crisp-edges;
    /* Opera */
    image-rendering: -webkit-optimize-contrast;
    /* Webkit (non-standard naming) */
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
    /* IE (non-standard property) */
  }

  .link {
    @apply text-sm text-gray-400 focus:text-blue-500 hover:text-blue-500 hover:underline;
  }

  .btn-small {
    @apply text-sm px-3 py-1;
  }

  .btn-homeqb {
    @apply bg-blue-400 text-white hover:bg-blue-500 focus:bg-blue-500 active:bg-blue-600;
  }

  .btn-primary {
    @apply bg-blue-600 text-white hover:bg-blue-700 focus:bg-blue-700 active:bg-blue-800;
  }

  .btn-secondary {
    @apply bg-gray-200 text-black hover:bg-gray-500 focus:bg-gray-500 active:bg-gray-500;
  }

  .btn-danger {
    @apply bg-red-600 text-white hover:bg-red-700 focus:bg-red-700 active:bg-red-800;
  }

  .btn-add {
    @apply bg-green-600 text-white hover:bg-green-700 focus:bg-green-700 active:bg-green-800;
  }

  .rounded-icon {
    border-radius: 50%;
  }
}
/* line 2, app/assets/stylesheets/buttons.scss */
.btn {
  display: inline-flex;
}

/* line 5, app/assets/stylesheets/buttons.scss */
.btn svg[class*="fa"] {
  margin-right: .5rem;
}
/* line 6, app/assets/stylesheets/dashboard.scss */
.dashboard__content .dashboard-links {
  background-color: #f0f0f0;
  width: fit-content;
  padding: 0;
}

/* line 11, app/assets/stylesheets/dashboard.scss */
.dashboard__content .dashboard-links ul {
  padding: 0;
}

/* line 14, app/assets/stylesheets/dashboard.scss */
.dashboard__content .dashboard-links ul li {
  border-bottom: 1px solid #ebebeb;
  padding: 0 1rem;
}

/* line 18, app/assets/stylesheets/dashboard.scss */
.dashboard__content .dashboard-links ul li:focus, .dashboard__content .dashboard-links ul li:hover {
  background-color: #ebebeb;
}

/* line 23, app/assets/stylesheets/dashboard.scss */
.dashboard__content .dashboard-links ul li a {
  padding: 1em 0;
  display: inline-block;
  width: 100%;
}
/* line 3, app/assets/stylesheets/forms.scss */
form input[type="checkbox"],
form input[type="radio"] {
  width: 1rem !important;
  padding: 0.5rem !important;
  height: auto !important;
  display: inline-block;
  margin: 0;
}

/* line 12, app/assets/stylesheets/forms.scss */
form label.checkbox-label {
  display: inline-block;
  margin: 1rem;
}

/* line 17, app/assets/stylesheets/forms.scss */
form hr {
  margin: 1rem auto;
}
/* line 5, app/assets/stylesheets/homepage.scss */
.homepage__content .homepage-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  align-content: center;
}

@media (max-width: 50em) {
  /* line 5, app/assets/stylesheets/homepage.scss */
  .homepage__content .homepage-links {
    justify-content: center;
  }
}

/* line 16, app/assets/stylesheets/homepage.scss */
.homepage__content .homepage-links .homepage-link {
  width: 30%;
  min-width: 375px;
  margin: .5em;
  object-fit: cover;
  position: relative;
  text-align: right;
  transition: all .3s linear;
}

@media (max-width: 50em) {
  /* line 16, app/assets/stylesheets/homepage.scss */
  .homepage__content .homepage-links .homepage-link {
    margin: .5em auto;
  }
}

/* line 30, app/assets/stylesheets/homepage.scss */
.homepage__content .homepage-links .homepage-link img {
  float: left;
  width: 100%;
  height: auto;
}

/* line 36, app/assets/stylesheets/homepage.scss */
.homepage__content .homepage-links .homepage-link a {
  text-align: right;
  position: absolute;
  bottom: 1rem;
  right: 1rem;
}

/* line 45, app/assets/stylesheets/homepage.scss */
.homepage__content .button {
  color: white;
  background-color: rgba(20, 20, 20, 0.6);
  padding: .5rem;
  border-radius: 2rem;
  border: 1px solid white;
}

/* line 52, app/assets/stylesheets/homepage.scss */
.homepage__content .button:active, .homepage__content .button:focus, .homepage__content .button:hover {
  background-color: rgba(20, 20, 20, 0.9);
}
/* line 1, app/assets/stylesheets/mbs.scss */
.economic-calendar > div {
  display: flex;
  flex-direction: row;
}

/* line 6, app/assets/stylesheets/mbs.scss */
.economic-calendar table {
  display: table;
  max-width: 100%;
  background-color: transparent;
  border-collapse: collapse;
  border-spacing: 0;
  margin-top: 1rem;
  flex-grow: 1;
}

/* line 16, app/assets/stylesheets/mbs.scss */
.economic-calendar tbody {
  display: table-row-group;
  vertical-align: middle;
  border-color: inherit;
}

/* line 22, app/assets/stylesheets/mbs.scss */
.economic-calendar tr {
  display: table-row;
  vertical-align: inherit;
  border-color: inherit;
}

/* line 28, app/assets/stylesheets/mbs.scss */
.economic-calendar tbody > tr:nth-child(odd) > td,
.economic-calendar tbody > tr:nth-child(odd) > th {
  background-color: #f9f9f9;
}

/* line 33, app/assets/stylesheets/mbs.scss */
.economic-calendar th, .economic-calendar td {
  border-top: 1px solid #ddd;
  line-height: 20px;
  padding: 16px 4px;
  text-align: left;
  vertical-align: top;
}

/* line 41, app/assets/stylesheets/mbs.scss */
.economic-calendar th, .economic-calendar td {
  padding: 8px;
  line-height: 20px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid #ddd;
}

/* line 49, app/assets/stylesheets/mbs.scss */
.economic-calendar tr > td:first-of-type {
  text-align: left;
}
/* line 5, app/assets/stylesheets/profile.scss */
.user-profile .form-flex {
  display: flex;
}

/* line 8, app/assets/stylesheets/profile.scss */
.user-profile .form-flex .form-column {
  width: 48%;
  margin: 1em auto;
}

/* line 14, app/assets/stylesheets/profile.scss */
.user-profile .form-footer {
  width: 100%;
}

/* line 18, app/assets/stylesheets/profile.scss */
.user-profile h2 {
  margin-top: .5em;
}

/* line 22, app/assets/stylesheets/profile.scss */
.user-profile .square {
  width: 50px;
  height: 20px;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
/* utilities */
/* check because these mixins aren't available to lower listed files without another import per file... */
/* line 2, app/assets/stylesheets/buttons.scss */
.btn {
  display: inline-flex;
}

/* line 5, app/assets/stylesheets/buttons.scss */
.btn svg[class*="fa"] {
  margin-right: .5rem;
}

/* line 3, app/assets/stylesheets/forms.scss */
form input[type="checkbox"],
form input[type="radio"] {
  width: 1rem !important;
  padding: 0.5rem !important;
  height: auto !important;
  display: inline-block;
  margin: 0;
}

/* line 12, app/assets/stylesheets/forms.scss */
form label.checkbox-label {
  display: inline-block;
  margin: 1rem;
}

/* line 17, app/assets/stylesheets/forms.scss */
form hr {
  margin: 1rem auto;
}

/* pages */
/* line 5, app/assets/stylesheets/homepage.scss */
.homepage__content .homepage-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  align-content: center;
}

@media (max-width: 50em) {
  /* line 5, app/assets/stylesheets/homepage.scss */
  .homepage__content .homepage-links {
    justify-content: center;
  }
}

/* line 16, app/assets/stylesheets/homepage.scss */
.homepage__content .homepage-links .homepage-link {
  width: 30%;
  min-width: 375px;
  margin: .5em;
  object-fit: cover;
  position: relative;
  text-align: right;
  transition: all .3s linear;
}

@media (max-width: 50em) {
  /* line 16, app/assets/stylesheets/homepage.scss */
  .homepage__content .homepage-links .homepage-link {
    margin: .5em auto;
  }
}

/* line 30, app/assets/stylesheets/homepage.scss */
.homepage__content .homepage-links .homepage-link img {
  float: left;
  width: 100%;
  height: auto;
}

/* line 36, app/assets/stylesheets/homepage.scss */
.homepage__content .homepage-links .homepage-link a {
  text-align: right;
  position: absolute;
  bottom: 1rem;
  right: 1rem;
}

/* line 45, app/assets/stylesheets/homepage.scss */
.homepage__content .button {
  color: white;
  background-color: rgba(20, 20, 20, 0.6);
  padding: .5rem;
  border-radius: 2rem;
  border: 1px solid white;
}

/* line 52, app/assets/stylesheets/homepage.scss */
.homepage__content .button:active, .homepage__content .button:focus, .homepage__content .button:hover {
  background-color: rgba(20, 20, 20, 0.9);
}

/* line 6, app/assets/stylesheets/dashboard.scss */
.dashboard__content .dashboard-links {
  background-color: #f0f0f0;
  width: fit-content;
  padding: 0;
}

/* line 11, app/assets/stylesheets/dashboard.scss */
.dashboard__content .dashboard-links ul {
  padding: 0;
}

/* line 14, app/assets/stylesheets/dashboard.scss */
.dashboard__content .dashboard-links ul li {
  border-bottom: 1px solid #ebebeb;
  padding: 0 1rem;
}

/* line 18, app/assets/stylesheets/dashboard.scss */
.dashboard__content .dashboard-links ul li:focus, .dashboard__content .dashboard-links ul li:hover {
  background-color: #ebebeb;
}

/* line 23, app/assets/stylesheets/dashboard.scss */
.dashboard__content .dashboard-links ul li a {
  padding: 1em 0;
  display: inline-block;
  width: 100%;
}

/* line 5, app/assets/stylesheets/profile.scss */
.user-profile .form-flex {
  display: flex;
}

/* line 8, app/assets/stylesheets/profile.scss */
.user-profile .form-flex .form-column {
  width: 48%;
  margin: 1em auto;
}

/* line 14, app/assets/stylesheets/profile.scss */
.user-profile .form-footer {
  width: 100%;
}

/* line 18, app/assets/stylesheets/profile.scss */
.user-profile h2 {
  margin-top: .5em;
}

/* line 22, app/assets/stylesheets/profile.scss */
.user-profile .square {
  width: 50px;
  height: 20px;
}

/* line 1, app/assets/stylesheets/mbs.scss */
.economic-calendar > div {
  display: flex;
  flex-direction: row;
}

/* line 6, app/assets/stylesheets/mbs.scss */
.economic-calendar table {
  display: table;
  max-width: 100%;
  background-color: transparent;
  border-collapse: collapse;
  border-spacing: 0;
  margin-top: 1rem;
  flex-grow: 1;
}

/* line 16, app/assets/stylesheets/mbs.scss */
.economic-calendar tbody {
  display: table-row-group;
  vertical-align: middle;
  border-color: inherit;
}

/* line 22, app/assets/stylesheets/mbs.scss */
.economic-calendar tr {
  display: table-row;
  vertical-align: inherit;
  border-color: inherit;
}

/* line 28, app/assets/stylesheets/mbs.scss */
.economic-calendar tbody > tr:nth-child(odd) > td,
.economic-calendar tbody > tr:nth-child(odd) > th {
  background-color: #f9f9f9;
}

/* line 33, app/assets/stylesheets/mbs.scss */
.economic-calendar th, .economic-calendar td {
  border-top: 1px solid #ddd;
  line-height: 20px;
  padding: 16px 4px;
  text-align: left;
  vertical-align: top;
}

/* line 41, app/assets/stylesheets/mbs.scss */
.economic-calendar th, .economic-calendar td {
  padding: 8px;
  line-height: 20px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid #ddd;
}

/* line 49, app/assets/stylesheets/mbs.scss */
.economic-calendar tr > td:first-of-type {
  text-align: left;
}

/* line 36, app/assets/stylesheets/application.scss */
.sort {
  position: absolute;
  top: 1rem;
  left: 0.5rem;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
}

/* line 46, app/assets/stylesheets/application.scss */
.sort-desc {
  border-top: 8px solid #fff;
}

/* line 50, app/assets/stylesheets/application.scss */
.sort-asc {
  border-bottom: 8px solid #fff;
}
