/* widget styles*/

#fitment-widget {
    width: 400px;
    min-height: 225px;
    text-align: left;
    position: relative;
}

#fitment-selector {
    text-align: left;
}

#fitment-widget fieldset {
  border: none;

  /*stacking fieldsets above each other*/
  position: relative;
}

/*Hide all except first fieldset*/
#fitment-widget fieldset:not(:first-of-type) {
    display: none;
}

#fitment-widget .fitment-step-title {
    color: #fff;
    font-size: 2.5rem;
}

/* Bootstrap uses this same classname, so we need to add some overrides */
#fitment-widget .custom-select {
    height: auto;
    padding: 0;
}

/* style.css overrides */
#fitment-widget .select-selected {
    border: none;
    color: #404040;
    font-size:  1.25rem;
    padding: 8px;
    width: 100%;
    max-width: 100%;
}

#fitment-widget .select-items div {
    font-size: 1rem;
}

.select-selected:after,
.select-selected.select-arrow-active:after {
    display: none;
}

#fitment-widget .custom-select label {
    display: none;
}

/*buttons*/

#fitment-widget .action-button {
    width: 100px;
    background: #F46802;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 3px;
    cursor: pointer;
    margin: 1rem 1rem 1rem 0;
    padding: .5rem;
}

#fitment-widget .action-button:hover {
  background: #1138A3;
}

#fitment-widget .disabled-action-button {
  background: #ccc;
  pointer-events: none; 
}

#fitment-widget .action-button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

#ftmt_sku button {
    height: auto;
}

#ftmt_sku button i {
    margin-left: 1rem;
}

/*progress-bar*/
#progress-bar {
    display: flex;
    justify-content: center;
    margin: 0 8% 1.5rem -8%;
    padding: 0;
    overflow: hidden;
}
#progress-bar li {
    list-style-type: none;
    width: 16.66%;
    position: relative;
}
#progress-bar li:before {
    content: " ";
    height: 10px;
    width: 10px;
    display: block;
    background: white;
    border-radius: 50%;
    margin: 0 auto;
}
/*progress-bar connectors*/
#progress-bar li:after {
  content: '';
  width: 100%;
  height: 2px;
  background: white;
  position: absolute;
  left: -50%;
  top: 4px;
  z-index: -1; /*put it behind the numbers*/
}
#progress-bar li:first-child:after {
    /*connector not needed before the first step*/
    content: none; 
}

/*marking active/completed steps blue */
/*The number of the step and the connector before it = green*/
#progress-bar li.active:before,  #progress-bar li.active:after{
    background: #F46802;
    color: white;
}

/* Hide reset button - future phase: remove functions from plugin? */
#ftmt_reset {
    display: none;
}

/* JM - HTML was broken on this item.
After cleaning, it appears to briefly show the sku before redirecting. 
Not sure if this is needed or not, so I'm just hidding */

#sku_value {
    display: none;
}


/* Mobile Responsive Media Queries */

@media (max-width: 860px) {
    #fitment-widget {
        transform: scale(.8);
        margin-left: -16%;
    }
}