﻿@media (max-width: 575.98px) {

    .filterby-button {
      display: block;
      color: #4183C4;
  }

  .filterby-btn .fa-2x {
    font-size: 1.5em;
}

  .filter-block {
      max-width: 0;
  }

  .filter {
      position: fixed;
      top: 0;
      left: 100%;
      right: 0;
      bottom: 0;
      background: #333f51;
      -webkit-transition: all ease .12s;
      transition: all ease .12s;
      z-index: 12000;
      padding: 2rem;
  }

  .px-filter {
    padding-left: 1rem;
  }

  .filter.is-open {
      left: 0;
      overflow: auto;

  }

  .filter-close {
      text-align: right;
  }

  .nav-link, .form-check-label, 
  .filter-label, .filter-close, .nav-item {
      color: #fff !important;
  }

  .form-check-label.compare-check {
      color:#212529 !important;
  }
  .bg-light {
    background-color: #fff !important;
}

}


@media (min-width: 576px) {
  .filter-close,
  .filterby-btn {
    display: none;
}

}

/*-------------------------------
     ADDITIONAL CARDS STYLING
 --------------------------------*/
.card {
    box-shadow: 0px 1px 3px 0px #D4D4D5, 0px 0px 0px 1px #D4D4D5;
    transition: box-shadow 0.1s ease, transform 0.1s ease, -webkit-transform 0.1s ease;
    transition-property: box-shadow, transform, -webkit-transform;
    transition-duration: 0.1s, 0.1s, 0.1s;
    transition-timing-function: ease, ease, ease;
    transition-delay: 0s, 0s, 0s;
}

.card:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


.card-selected {
    border:3px solid rgba(63, 186, 228, 0.9);
    box-shadow: inset 0px 0px 0px 0px rgba(63, 186, 228, 0.9), 2px 8px 8px 0 rgba(0, 0, 0, 0.2), 0 -2px 4px 0 rgba(0, 0, 0, 0.12);
}

.card-footer {
    background-color: #fff;
    border-top:0;
}
.list-group-flush .list-group-item {
    border-top: 0;
    border-bottom: 0;
}

/*---------------------------
        CUSTOM CHECKBOX 
----------------------------*/
/* The container */
.check-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    font-size: 16px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.form-check-amp {
    padding-left: 0;
}

/* Hide the browser's default checkbox */
.check-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #fff;
    border: 2px solid #3fbae4;
}

.checkmark-filter {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid #3fbae4;
}

/* On mouse-over, add a grey background color */
.check-container:hover input ~ .checkmark, .check-container input:focus ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.check-container input:checked ~ .checkmark {
    background-color: #3fbae4;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.check-container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.check-container .checkmark:after {
    left: 8px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.check-container .checkmark-filter:after {
    left: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}


/*---------------------------
        COMPARE TOOLBAR 
 ----------------------------*/

.row > .image-centered {
    width: unset;
    padding-left: unset;
    padding-right: unset;
}

    #selected-products {
    position: fixed;
    z-index: 1113; 
    bottom: 0; 
    left: 0;
    width: 100%;
    background-color: #343a40;
}

#alert-toolbar {
    position:relative;
    z-index: 400;
    background-color: #212529;
    bottom: 0; 
    left: 0;
    width: 100%;
}


.selected-product {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 100%;
    padding: .5rem;
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;

}

#max-alert {
    color: #ffffff;
    padding: 2px;
}

#compare-alert{
    color: #ffffff;
    padding: 2px;
}

#btn-compare {
    background-color: rgb(0, 110, 168);
    border: 1px solid #1a6da4;
    color: #fff;
    margin-left: 10px;
    display: inherit;
    font-weight: 600;
}

#btn-clear {
    margin-left: 10px;
    color: #fff;
}

.orange-close {
    color: #fff;
    background-color: rgb(0, 110, 168) !important;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    position: absolute;
    top: -8px;
    right: -10px;
    font-size: .85rem;
    opacity: 1;
}

.close-x {
    vertical-align: text-top;
    line-height: normal !important;
}

/*---------------------------
     FIXED HEIGHT IMAGE
------------------------------*/
  .image-centered {
      margin-top: .25rem;
      margin-bottom: .25rem;
  }

  .image-centered-item {
      position: relative;
      background: #fff;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      -webkit-align-items: center;
      -ms-flex-align: center;
      align-items: center;
      -webkit-justify-content: center;
      -ms-flex-pack: center;
      justify-content: center;
      height: 75px;
      max-width:100%;
      border:2px solid #2c97de;
      border-radius: 5px;
      margin-left:10px;
      margin-right: 10px;

  }
  .image-centered-item img {
      background-color: #ffffff;
  }


  /* Whitespace to fix overlap of compare bar */
  .whitespace {
    color: #fff;
    height: 120px;
}
