/* AVO ImageSet#index */

/*
  hacky way to hide 'Create new image set'
  to hide it with avo https://docs.avohq.io/3.0/authorization.html#create we need Pro License
*/

div[data-resource-name='Avo::Resources::ImageSet'] div[data-target='panel-tools'] a[data-target='create'],
div[data-resource-name='Avo::Resources::ImageSet'] div[data-target='panel-tools'] a[href$='/edit'] {
  display: none;
}

/*
  hacky way to hide Edit button in resources table
  to hide it with avo https://docs.avohq.io/3.0/authorization.html#edit_association we need Pro License
*/

#image_sets_list tr[data-resource-name="image_sets"] > td[data-control="resource-controls"] a[data-target="control:edit"]{
  display: none;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS 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/SCSS
 * 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.
 *


 */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-style: normal;
  line-height: 28px;
  color: #000000;
}

body {
  background: #F7F7F9;
}

a.accent {
  text-decoration: none;
  background: linear-gradient(180deg, rgba(240,32,52,1) 0%, rgba(225,31,147,1) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.export_form button[type="submit"] {
  display: block;
  margin: 0 auto;
}

label {
  display: block;
  color: #262626;
  margin-bottom: 2px;
}

input {
  background: #ffffff;
  border: 1px solid #C6C9DE;
  border-radius: 8px;
  height: 45px;
  padding: 12px;
  font-size: 1rem;
  width: 100%;
}

input:focus {
  outline: none;
}

.images_res {
  display: grid;
  column-gap: 0.5rem;
  grid-template-columns: 1fr 1fr;
  padding: 0px 0;
}

label > .radio-label,
label > input[type="radio"] {
  vertical-align: middle;
  font-size: 14px;
}
input[type="email"] {
  width: calc(100% - 45px)
}

input[type="radio"] {
  width: 20px;
  height: 20px;
}

input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 2px;
  border-radius: 50%;
  position: relative;
  margin-right: 6px;
}

input[type="radio"]:before {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgb(240,32,52);
  background: linear-gradient(180deg, rgba(240,32,52,1) 0%, rgba(225,31,147,1) 100%);
  opacity: 0;
  transition: 0.2s ease;
}

input[type="radio"]:checked:before {
  opacity: 1;
}

textarea {
  display: block;
  background: #ffffff;
  border: 1px solid #D9D9D9;
  border-radius: 0.25rem;
  min-height: 40px;
  padding: 12px;
  font-size: 1rem;
  line-height: 1.3rem;
  width: 100%;
  resize: vertical ;
}

small {
  color: #595959;
}

.btn,
button {
  display: inline-block;
  min-width: 150px;
  padding: 12px 24px;
  background: rgb(240,32,52);
  background: linear-gradient(180deg, rgba(240,32,52,1) 0%, rgba(225,31,147,1));
  height: 48px;
  border-radius: 0.5rem;
  border: 1px solid #f02034;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5rem;
  color: #ffffff;
  cursor: pointer;
}

.btn:hover,
button:hover {
  background: #000000;
  border-color: #000000;
}

.btn--outline {
  text-decoration: none;
  display: inline-block;
  min-width: 150px;
  font-size: 1rem;
  line-height: 1.5rem;
  padding: 12px 24px;
  border: 1px solid #e92162;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn--outline:hover {
  background: rgb(240,32,52);
  background: linear-gradient(180deg, rgba(240,32,52,1) 0%, rgba(225,31,147,1));
  border: 1px solid #f02034;
  color: #ffffff;
  background-clip: none;
  -webkit-background-clip: none;
  -webkit-text-fill-color: #ffffff;
}

.btn--clear {
  border: none;
  background: transparent;
}
.btn--clear:hover {
  border: none;
  background: transparent;
}

.btn__logout {
  font-size: 14px;
  border: 0;
}

.btn__logout:hover {
  color: #f02034;
  cursor: pointer;
}

.alert-info {
  background-color: #ffdc00;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
  line-height: 1;
  padding: 20px;
  text-align: center;
}


header {
  position: relative;
}

.background {
  height: 400px;
  background: rgb(240,32,52);
  background: linear-gradient(180deg, rgba(240,32,52,1) 0%, rgba(225,31,147,1) 100%);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
}

.navigation {
  height: 80px;
  background-color: #ffffff;
}

.navigation__container {
  max-width: 1300px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}

.navigation .logo {
  width: 100px;
}

.navigation a:first-child {
  padding-left: 0;
}

.heading {
  display: block;
  width: 80%;
  margin: 0 auto;
  text-align: center;
}

.heading__header {
  margin: 75px 0 40px 0;
  font-weight: 700;
  font-size: 32px;
  color: #fff;
}

.heading__copy {
  color: #BAE7FF;
  font-size: 1rem;
}

.form-wrapper {
  width: 80%;
  height: auto;
  margin: 40px auto auto auto;
}

.box-with-shadow {
  background: #ffffff;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1), 0px 10px 20px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 2.5rem 2rem 1rem 2rem;
  width: 100%;
  height: 100%;
}

.jobs-in-queue {
  display: block;
  width: 100%;
  text-align: center;
  padding-top: 0.5rem;
  color: #6A6D86;
}

.alert {
  display: block;
  text-align: center;
}

.alert__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 2.5rem;
}

.alert__heading i {
  background: linear-gradient(180deg, rgba(240,32,52,1) 0%, rgba(225,31,147,1) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.alert input[type="submit"] {
  width: 200px;
}

.alert__icon {
  color: #52C41A;
  margin-right: 0.5rem;
}

.alert__copy {
  color: #595959;
  line-height: 1.8;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.cols-2-1 {
  display: grid;
  column-gap: 0.5rem;
  align-items: flex-end;
}

.cols-2-1 button {
  margin-top: 1rem;
}

.legal {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #6A6D86;
}

.how-to-use {
  margin-top: 5rem;
  text-align: center;
}

.how-to-use__heading {
  font-size: 2rem;
  line-height: 2.3rem;
  margin-bottom: 2.5rem;
}

.blocks-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  text-align: center;
}

.block {
  width: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 4rem;
}

.block__image {
  width: 220px;
  height: 149px;
}

.block__image img {
  width: 100%;
}

.block__heading {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
}

.block__copy {
  color: #6A6D86;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 5rem;
  text-align: center;
  color: #6A6D86;
}

footer p {
  width: 100%;
}

/* Utils */
.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 1rem;
}

/* rwd */
@media (min-width: 768px) {
  .form-wrapper {
    width: 686px;
  }

  .cols-2-1 {
    grid-template-columns: 2fr 1fr;
  }
}

@media (min-width: 992px) {
  .blocks-wrapper {
    flex-direction: row;
    width: 960px;
  }
}

@media (min-width: 1200px) {
  footer {
    margin-top: 13.5rem;
  }
}


.annotation {
  display: block;
  margin-top: 0.315rem;
  font-size: 0.857rem;
  color: #595959;
}


span.input_container {
  display: flex;
  flex-direction: row;
  align-items: center;
}

span.input_container input:focus {
  outline: 1px solid #f02034;
}

.links .input_container {
  margin-bottom: 5px;
}

.links .input_container:last-child {
  margin-bottom: 20px;
}

.add_link, .remove_link {
  outline: none;
  min-width: 30px;
  width: 30px;
  height: 30px;
  margin-left: 0.5rem;
  padding: 0;
}

.add_link svg, .remove_link svg {
  vertical-align: middle;
  display: inline-block;
  height: 24px;
  width: 24px;
  box-sizing: content-box;
}

.add_link:hover svg path {
  transition: 0.3s;
  fill: #f02034;
}

.remove_link:hover svg path {
  transition: 0.3s;
  fill: #F5222D;
}

.link {
  vertical-align: middle;
  display: inline-block;
  width: calc(100% - 45px);
}

.sso_alert {
  padding: 12px 20px;
  border: 1px solid #f5c6cb;
  border-radius: 0.25rem;
  color: #721c24;
  background-color: #f8d7da;
  margin-bottom: 20px;
}
