/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

 :root {
  --color-violet: #6f42c1;
  --color-violet-rgb: 111, 66, 193;
  --color-violet-dark: #5936a9; /* 20% darker */
  --color-violet-light: #7e57c2; /* 20% lighter */
}

 .logo {
   max-width: 300px;
 }

 header.navbar .navbar-brand {
  display: inline-block;
  width: 250px;
  height: 60px;
  padding: 0.5rem 1rem;
  margin-right: 0;
  background-color: #384042;
  border-bottom: 1px solid #2c3334;
  background-image: url(image-path('rocket-reviews-white.png'));
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 120px auto;
}

 .card-login {
   background-color: #2D265C;
   border-color: #782872;
 }

 .btn-pink {
   color: #fff !important;
   background-color: #A12C7D !important;
   background-image: none !important;
   border-color: #D49FC4 !important;
   &a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
    background-color: #61276A !important;
    border-color: #B79DBB !important;
  }
 }

 a.btn-pink:hover {
   color: #ffffff !important;
   text-decoration: none !important;
   background-color: #61276A !important;
   border-color: #B79DBB !important;
 }

 .btn-purple {
   color: #fff !important;
   background-color: #61276A !important;
   background-image: none !important;
   border-color: #B79DBB !important;
 }

 .btn-violet {
  /* --bs-btn-font-weight: 600 !important; */
  --bs-btn-color: var(--bs-white) !important;
  --bs-btn-bg: var(--color-violet) !important;
  --bs-btn-border-color: var(--color-violet) !important;
  --bs-btn-hover-color: var(--bs-white) !important;
  --bs-btn-hover-bg: var(--color-violet-light) !important;
  --bs-btn-hover-border-color: var(--color-violet-light) !important;
  --bs-btn-focus-shadow-rgb: var(--color-violet-rgb) !important;
  --bs-btn-active-color: var(--bs-btn-hover-color) !important;
  --bs-btn-active-bg: var(--color-violet-dark) !important;
  --bs-btn-active-border-color: var(--color-violet-dark) !important;
}

 

small.record-info {
  padding-left: 10px;
}

/*  Chosen Select */
.chosen-select {
  width: 100%; }

.chosen-select-deselect {
  width: 100%; }

  .chosen-drop .chosen-results {
      max-height: 100px;
  }

.chosen-container {
  display: inline-block;
  font-size: 14px;
  position: relative;
  vertical-align: middle; }
  .chosen-container .chosen-drop {
    background: #fff;
    border: 1px solid #ccc;
    border-bottom-right-radius: 1px;
    border-bottom-left-radius: 1px;
    /* -webkit-box-shadow: 0 8px 8px rgba(0, 0, 0, 0.15);
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.15); */
    margin-top: -1px;
    position: absolute;
    top: 100%;
    left: -9000px;
    z-index: 1060; }
  .chosen-container.chosen-with-drop .chosen-drop {
    left: 0;
    right: 0; }
  .chosen-container .chosen-results {
    color: #555555;
    margin: 0 4px 4px 0;
    max-height: 240px;
    padding: 0 0 0 4px;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; }
    .chosen-container .chosen-results li {
      display: none;
      line-height: 1.42857;
      list-style: none;
      margin: 0;
      padding: 5px 6px; }
      .chosen-container .chosen-results li em {
        background: #feffde;
        font-style: normal; }
      .chosen-container .chosen-results li.group-result {
        display: list-item;
        cursor: default;
        color: #999;
        font-weight: bold; }
      .chosen-container .chosen-results li.group-option {
        padding-left: 15px; }
      .chosen-container .chosen-results li.active-result {
        cursor: pointer;
        display: list-item; }
      .chosen-container .chosen-results li.highlighted {
        background-color: #337ab7;
        background-image: none;
        color: white; }
        .chosen-container .chosen-results li.highlighted em {
          background: transparent; }
      .chosen-container .chosen-results li.disabled-result {
        display: list-item;
        color: #777777; }
    .chosen-container .chosen-results .no-results {
      background: #eeeeee;
      display: list-item; }
  .chosen-container .chosen-results-scroll {
    background: white;
    margin: 0 4px;
    position: absolute;
    text-align: center;
    width: 321px;
    z-index: 1; }
    .chosen-container .chosen-results-scroll span {
      display: inline-block;
      height: 1.42857;
      text-indent: -5000px;
      width: 9px; }
  .chosen-container .chosen-results-scroll-down {
    bottom: 0; }
    .chosen-container .chosen-results-scroll-down span {
      background: url("chosen-sprite.png") no-repeat -4px -3px; }
  .chosen-container .chosen-results-scroll-up span {
    background: url("chosen-sprite.png") no-repeat -22px -3px; }

.chosen-container-single .chosen-single {
  background-color: #fff;
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;
  border: 1px solid #ccc;
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  color: #555555;
  display: block;
  height: 34px;
  overflow: hidden;
  line-height: 34px;
  padding: 0 0 0 8px;
  position: relative;
  text-decoration: none;
  white-space: nowrap; }
  .chosen-container-single .chosen-single span {
    display: block;
    margin-right: 26px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; }
  .chosen-container-single .chosen-single abbr {
    background: url("chosen-sprite.png") right top no-repeat;
    display: block;
    font-size: 1px;
    height: 10px;
    position: absolute;
    right: 26px;
    top: 12px;
    width: 12px; }
    .chosen-container-single .chosen-single abbr:hover {
      background-position: right -11px; }
  .chosen-container-single .chosen-single.chosen-disabled .chosen-single abbr:hover {
    background-position: right 2px; }
  .chosen-container-single .chosen-single div {
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    width: 18px; }
    .chosen-container-single .chosen-single div b {
      background: url("chosen-sprite.png") no-repeat 0 7px;
      display: block;
      height: 100%;
      width: 100%; }
.chosen-container-single .chosen-default {
  color: #777777; }
.chosen-container-single .chosen-search {
  margin: 0;
  padding: 3px 4px;
  position: relative;
  white-space: nowrap;
  z-index: 1000; }
  .chosen-container-single .chosen-search input[type="text"] {
    background: url("chosen-sprite.png") no-repeat 100% -20px, #fff;
    border: 1px solid #ccc;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    margin: 1px 0;
    padding: 4px 20px 4px 4px;
    width: 100%; }
.chosen-container-single .chosen-drop {
  margin-top: -1px;
  /* border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px; */
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box; }

.chosen-container-single-nosearch .chosen-search input[type="text"] {
  position: absolute;
  left: -9000px; }

.chosen-container-multi .chosen-choices {
  background-color: #fff;
  border: 1px solid #e1e6ef;
  border-radius: 0;
  cursor: text;
  height: auto !important;
  height: calc(2.25rem + 2px) !important;
  margin: 0;
  overflow: hidden;
  padding: 0;
  padding-left: 3px;
  position: relative; }
  .chosen-container-multi .chosen-choices li {
    float: left;
    list-style: none; }
  .chosen-container-multi .chosen-choices .search-field {
    margin: 0;
    padding: 0;
    white-space: nowrap; }
    .chosen-container-multi .chosen-choices .search-field input[type="text"] {
      background: transparent !important;
      border: 0 !important;
      -webkit-box-shadow: none;
      box-shadow: none;
      color: #555555;
      height: 32px;
      margin: 0;
      padding: 4px;
      outline: 0; }
    .chosen-container-multi .chosen-choices .search-field .default {
      color: #999; }
  .chosen-container-multi .chosen-choices .search-choice {
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    background-color: #eeeeee;
    border: 1px solid #ccc;
    /* border-top-right-radius: 4px;
    border-top-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px; */
    /* background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 100%);
    background-image: -o-linear-gradient(top, white 0%, #eeeeee 100%);
    background-image: linear-gradient(to bottom, white 0%, #eeeeee 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); */
    /* -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); */
    color: #333333;
    cursor: default;
    line-height: 13px;
    margin: 6px 0 3px 5px;
    padding: 3px 20px 3px 5px;
    position: relative; }
    .chosen-container-multi .chosen-choices .search-choice .search-choice-close {
      background: url("chosen-sprite.png") right top no-repeat;
      display: block;
      font-size: 1px;
      height: 10px;
      position: absolute;
      right: 4px;
      top: 5px;
      width: 12px;
      cursor: pointer; }
      .chosen-container-multi .chosen-choices .search-choice .search-choice-close:hover {
        background-position: right -11px; }
  .chosen-container-multi .chosen-choices .search-choice-focus {
    background: #d4d4d4; }
    .chosen-container-multi .chosen-choices .search-choice-focus .search-choice-close {
      background-position: right -11px; }
.chosen-container-multi .chosen-results {
  margin: 0 0 0 0;
  padding: 0; }
.chosen-container-multi .chosen-drop .result-selected {
  display: none; }

.chosen-container-active .chosen-single {
  border: 1px solid #66afe9;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px #66afe9;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px #66afe9;
  -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
  -o-transition: border linear 0.2s, box-shadow linear 0.2s;
  transition: border linear 0.2s, box-shadow linear 0.2s; }
.chosen-container-active.chosen-with-drop .chosen-single {
  background-color: #fff;
  border: 1px solid #66afe9;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  /* -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px #66afe9;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px #66afe9;
  -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
  -o-transition: border linear 0.2s, box-shadow linear 0.2s;
  transition: border linear 0.2s, box-shadow linear 0.2s;  */
}
  .chosen-container-active.chosen-with-drop .chosen-single div {
    background: transparent;
    border-left: none; }
    .chosen-container-active.chosen-with-drop .chosen-single div b {
      background-position: -18px 7px; }
.chosen-container-active .chosen-choices {
  border: 1px solid #66afe9;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  /* -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px #66afe9;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px #66afe9;
  -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
  -o-transition: border linear 0.2s, box-shadow linear 0.2s;
  transition: border linear 0.2s, box-shadow linear 0.2s;  */
}
  .chosen-container-active .chosen-choices .search-field input[type="text"] {
    color: #111 !important; }
.chosen-container-active.chosen-with-drop .chosen-choices {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0; }

.chosen-disabled {
  cursor: default;
  opacity: 0.5 !important; }
  .chosen-disabled .chosen-single {
    cursor: default; }
  .chosen-disabled .chosen-choices .search-choice .search-choice-close {
    cursor: default; }

.chosen-rtl {
  text-align: right; }
  .chosen-rtl .chosen-single {
    padding: 0 8px 0 0;
    overflow: visible; }
    .chosen-rtl .chosen-single span {
      margin-left: 26px;
      margin-right: 0;
      direction: rtl; }
    .chosen-rtl .chosen-single div {
      left: 7px;
      right: auto; }
    .chosen-rtl .chosen-single abbr {
      left: 26px;
      right: auto; }
  .chosen-rtl .chosen-choices .search-field input[type="text"] {
    direction: rtl; }
  .chosen-rtl .chosen-choices li {
    float: right; }
  .chosen-rtl .chosen-choices .search-choice {
    margin: 6px 5px 3px 0;
    padding: 3px 5px 3px 19px; }
    .chosen-rtl .chosen-choices .search-choice .search-choice-close {
      background-position: right top;
      left: 4px;
      right: auto; }
  .chosen-rtl.chosen-container-single .chosen-results {
    margin: 0 0 4px 4px;
    padding: 0 4px 0 0; }
  .chosen-rtl .chosen-results .group-option {
    padding-left: 0;
    padding-right: 15px; }
  .chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div {
    border-right: none; }
  .chosen-rtl .chosen-search input[type="text"] {
    background: url("chosen-sprite.png") no-repeat -28px -20px, #fff;
    direction: rtl;
    padding: 4px 5px 4px 20px;
  }

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 2dppx) {
  .chosen-rtl .chosen-search input[type="text"],
  .chosen-container-single .chosen-single abbr,
  .chosen-container-single .chosen-single div b,
  .chosen-container-single .chosen-search input[type="text"],
  .chosen-container-multi .chosen-choices .search-choice .search-choice-close,
  .chosen-container .chosen-results-scroll-down span,
  .chosen-container .chosen-results-scroll-up span {
    background-image: url("https://s3.amazonaws.com/rocket-reviews/assets/img/chosen-sprite%402x.png") !important;
    background-size: 52px 37px !important;
    background-repeat: no-repeat !important; } }


.btn-bd-primary {
  --bs-btn-font-weight: 600 !important;
  --bs-btn-color: var(--bs-white) !important;
  --bs-btn-bg: var(--bd-violet-bg) !important;
  --bs-btn-border-color: var(--bd-violet-bg) !important;
  --bs-btn-hover-color: var(--bs-white) !important;
  --bs-btn-hover-bg: #{shade-color($bd-violet, 10%)} !important;
  --bs-btn-hover-border-color: #{shade-color($bd-violet, 10%)} !important;
  --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb) !important;
  --bs-btn-active-color: var(--bs-btn-hover-color) !important;
  --bs-btn-active-bg: #{shade-color($bd-violet, 20%)} !important;
  --bs-btn-active-border-color: #{shade-color($bd-violet, 20%)} !important;
}


/* Custom default button */
.btn-light,
.btn-light:hover,
.btn-light:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
}

.cover-container {
  max-width: 100em;
}

.field_with_errors input{
  border-color: var(--bs-form-invalid-border-color)!important;
}

input::placeholder {
  opacity: 0.5 !important;
}



.sortable-placeholder {
  border: 1px dashed #CCC;
  background-color: #f9f9f9;
  height: 80px;
  margin-bottom: 10px;
}

/* Errors */
#error_explanation {
  color: #f00;
  h5 {
    font-size: 1rem;
    color: #f00;
  }
  ul {
    list-style: none;
    margin: 0 0 18px 0;
  }
}
.field_with_errors {
  .form-control {
    display: block !important;
    width: 100% !important;
    color: red !important;
    border-bottom: 1px solid #eceeef;
    border-color: red !important;
  }
}

.map-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}


ul.cloud {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  line-height: 2.5rem;
}

ul.cloud a[data-weight="1"] { --size: 1; }
ul.cloud a[data-weight="2"] { --size: 2; }
ul.cloud a[data-weight="3"] { --size: 3; }
ul.cloud a[data-weight="4"] { --size: 4; }
ul.cloud a[data-weight="5"] { --size: 6; }
ul.cloud a[data-weight="6"] { --size: 8; }
ul.cloud a[data-weight="7"] { --size: 10; }
ul.cloud a[data-weight="8"] { --size: 13; }
ul.cloud a[data-weight="9"] { --size: 15; }
ul.cloud a[data-weight="10"] { --size: 16; }

ul.cloud a {
  /*   
  Not supported by any browser at the moment :(
  --size: attr(data-weight number); 
  */
  --size: 4;
  --color: #a33;
  color: var(--color);
  font-size: calc(var(--size) * 0.25rem + 0.5rem);
  display: block;
  padding: 0.125rem 0.25rem;
  position: relative;
  text-decoration: none;
  /* 
  For different tones of a single color
  opacity: calc((15 - (9 - var(--size))) / 15); 
  */
  opacity: calc((15 - (9 - var(--size))) / 15); 
}

ul.cloud[data-show-value] a::after {
  content: " (" attr(data-weight) ")";
  font-size: 1rem;
}

/* ul.cloud li:nth-child(2n+1) a { color: #181; --color: #181;}
ul.cloud li:nth-child(3n+1) a { color: #33a; --color: #33a;}
ul.cloud li:nth-child(4n+1) a { color: #c38; --color: #c38;}
ul.cloud li:nth-child(5n+1) a { color: #2caffe; --color: #2caffe;} */

/* ul.cloud a[data-weight="1"] { color: #181; }
ul.cloud a[data-weight="2"] { color: #33a; }
ul.cloud a[data-weight="3"] { color: #c38; }
ul.cloud a[data-weight="4"] { color: #2caffe; }
ul.cloud a[data-weight="5"] { color: #e67e22; }
ul.cloud a[data-weight="6"] { color: #a3338c; }
ul.cloud a[data-weight="7"] { color: #a3338c; }
ul.cloud a[data-weight="8"] { color: #a3338c; }
ul.cloud a[data-weight="9"] { color: #a3338c; }
ul.cloud a[data-weight="10"] { color: #a3338c; } */

ul.cloud a[data-weight="1"] {
  color: #FF0033; --color: #FF0033;       /* Red */
}
ul.cloud a[data-weight="2"] {
  color: #FF9900; --color: #FF9900;      /* Orange-ish */
}
ul.cloud a[data-weight="3"] {
  color: #00BFFF; --color: #00BFFF; 
}
ul.cloud a[data-weight="4"] {
  color: #00BFFF; --color: #00BFFF;    /* Yellow */
}
ul.cloud a[data-weight="5"] {
  color: #9933FF; --color: #9933FF;       /* Yellow-green */
}
ul.cloud a[data-weight="6"] {
  color: #FF00FF; --color: #FF00FF;     /* Lime-green */
}
ul.cloud a[data-weight="7"] {
  color: #FF0066; --color: #FF0066;     /* Green-cyan */
}
ul.cloud a[data-weight="8"] {
  color: #00FF00; --color: #00FF00;   /* Aqua */
}
ul.cloud a[data-weight="9"] {
  color: #FFEE00; --color: #FFEE00;     /* Cyan */
}
ul.cloud a[data-weight="10"] {
  color: #00CC44; --color: #00CC44; 
}


ul.cloud a:focus {
  outline: 1px dashed;
} 

ul.cloud a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 100%;
  background: var(--color);
  transform: translate(-50%, 0);
  opacity: 0.15;
  transition: width 0.25s;
}

ul.cloud a:focus::before,
ul.cloud a:hover::before {
  width: 100%;
}

@media (prefers-reduced-motion) {
  ul.cloud * {
    transition: none !important;
  }
}