#quick-order-delivery {
    margin-top: 15px;
}
#quick-order-delivery .radio{
    height: 30px;
    display: inline-block;
    margin: 0;
}
#quick-order-delivery .delivery input {
  display: none;
}
#quick-order-delivery .delivery label {
  background: transparent url(/static/images/product/delivery.png) no-repeat 0 bottom;
  padding-left: 25px;
  margin-right: 20px;
  text-align: left;
}
#quick-order-delivery .delivery input:checked + label {
  background-image: url(/static/images/product/delivery_checked.png);
}
#quick-order-delivery select.boxformwh {
  border: solid 1px #999;
  display: inline-block;
  margin: 0 0 0 -15px;
  padding: 0 5px;
  width: auto;
  background: transparent;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  height: auto;
}
@media (max-width: 767px) {
    #quick-order-delivery {
        margin-bottom: 30px;
    }
}
@media (max-width: 450px) {
  #quick-order-delivery select.boxformwh {
      margin-left: 25px;
      margin-top: 5px;
      width: 110px;
  }
  #quick-order-delivery .delivery label {
      margin-right: 0;
      display: block;
  }
  #quick-order-delivery .radio {
      display: block;
      height: auto;
  }
}
#dimensions_select {
    margin-left: 0;
    margin-right: 0;
}
#dimensions_select .col-xs-4 {
    padding-left: 0;
    padding-right: 0;
}
.dimension {
    border-left: 1px solid #D5D5D5;
    padding-bottom: 40px;
}
.dimension h4 {
    text-transform: uppercase;
}
#width {
    border-left-color: transparent;
}
#filter_select h4 {
    color: #8A8A8A;
    font-weight: bold;
    font-size: 21px;
    margin: 0;
    padding: 30px 0 15px;
    font-family: "News Cycle", Helvetica, Arial, sans-serif;
}
#filter_select {
    color: #5A5A5A;
    margin: 20px 0;
    background: url(/static/images/form_bg.png) repeat-x 0 0;
}
.dimension .select2-container {
    font-size: 14px;
}
.dimension .select2-container .chosen-single div {
    background: transparent url(/static/images/caret2.png) no-repeat left center!important;
    border-left: 0;
}
.dimension .select2-container .chosen-single div b {
    background: none;
}
#width .select2-container {
    width: 90px!important;
    margin: 0 5px;
}
#length .select2-container {
    width: 90px!important;
    margin: 0 5px;
}
#depth .select2-container {
    width: 80%!important;
}
#filter_select .select2-container .chosen-results li.highlighted {
    background: #bdf2ff!important;
}
#filter_select .select2-container .chosen-results li {
    color: #6F6F6F!important;
}
#filter_select .select2-container-single .chosen-single {
    height: 34px;
    line-height: 32px;
    color: #6F6F6F!important;
    background: url(/static/images/select_bg.png) repeat-x 0 0;
}
#filter_select .select2-container-active .chosen-single {
    border-color: #aaaaaa;
}
#custSize_modalContainer .btn {
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
#custSize_modalContainer .hide-d {
    display: none;
}
#custSize_modal-BG .modalLoader {
    height: 60px;
    position: fixed;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
#custSize_modalContainer .mdl_body {
    padding: 0 35px;
}
#custSize_modal-BG {
    background: rgba(0, 0, 0, 0.3);
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 998;
}
#custSize_modalContainer {
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    display: none;
    left: 50%;
    position: fixed;
    text-align: center;
    top: 50%;
    width: 100%;
    z-index: 999;
}
#custSize_modalContainer {
    -webkit-transform: translate(-50%, 0%);
    -ms-transform: translate(-50%, 0%);
    transform: translate(-50%, 0);
    position: absolute;
    top: 275px;
}
#custSize_modalContainer .wrapper {
    display: inline-block;
    max-width: 920px;
    position: relative;
}
#custSize_modalContainer .exit-btn {
    color: #fff;
    cursor: pointer;
    font-family: arial;
    font-size: 16px;
    font-weight: 700;
    line-height: 12px;
    padding: 10px;
    position: absolute;
    right: 10px;
    top: 5px;
}
#custSize_modalContainer .bfr-wrap {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}
#custSize_modalContainer p {
    padding: 0 30px;
    text-align: left;
}
#custSize_modalContainer .content {
    background: #fff;
    border: solid 2px #eee;
    padding-bottom: 15px;
}
#custSize_modalContainer h3 {
    background: #27AB5B;
    color: #fff;
    font-size: 18px;
    letter-spacing: 1px;
    margin: 0 0 15px;
    padding: 10px;
}
#custSize_modalContainer .btn {
    color: #fff;
    margin-left: 10px;
    width: 120px;
}
#custSize_modalContainer .btn-cancel {
    background-color: #a7a7a7;
}
#custSize_modalContainer .btn-update {
    background-color: #27ab5b;
}
#filter_select .col-xs-4 {
    display: inline-block;
    width: 33.33333333%;
}
@media (max-width: 470px) {
    #filter_select .col-xs-4 {
        width: 50%;
    }
    #filter_select .dimension {
        border: none;
        padding-bottom: 0;
    }
    #filter_select h4 {
        padding: 10px 0;
    }
    #custSize_modalContainer .mdl_body {
        padding: 0 20px;
    }
    #custSize_modalContainer .hide-d {
        display: block;
    }
    #custSize_modalContainer .hide-m {
        display: none;
    }
}
#custSize_modal-BG:not(.loading) .modalLoader {
    display: none;
}
#depth .select2-container {
    min-width: 90px;
    width: 57% !important;
}
#quickOrder-hdr {
    color: #008050;
    font-weight: bold;
    font-size: 1.5em;
    margin-top: 8px;
    text-transform: uppercase;
}
.filter-grp .header-row > .hdr-remove {
    padding-right: 0;
}
/* start select2 CSS */

span.select2-container--default .select2-selection--single .select2-selection__arrow {
    background: #ccc;
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #d9d8d8), color-stop(0.6, #9d9d9d));
    background-image: -webkit-linear-gradient(center bottom, #d9d8d8 0, #9d9d9d 60%);
    background-image: -moz-linear-gradient(center bottom, #d9d8d8 0, #9d9d9d 60%);
    background-image: -o-linear-gradient(bottom, #d9d8d8 0, #9d9d9d 60%);
    background-image: -ms-linear-gradient(top, #d9d8d8 0, #9d9d9d 60%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#d9d8d8', endColorstr='#9d9d9d', GradientType=0);
    background-image: linear-gradient(top, #d9d8d8 0, #9d9d9d 60%);
    border-left: 1px solid #aaa;
    width: 22px;
}
span.select2-container .select2-selection--single .select2-selection__rendered {
    padding-right: 23px;
}
span.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #fff transparent transparent transparent;
}
/* end select2 CSS */
/* start plus/minus CSS */

#bulk-dropdown .qty-block .minus {
    display: block;
    padding: 0;
    margin: 0;
    position: absolute;
    text-align: center;
    vertical-align: text-top;
    width: 20px;
    height: 15px;
    overflow: visible;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    line-height: 13px;
    font-size: 12px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    color: #5e5e5e;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid #c8bfc6;
    background: #f7f6f7;
    background: -webkit-gradient(linear, left top, left bottom, from(#f7f6f7), to(#e0dadf));
    background: -webkit-linear-gradient(#f7f6f7, #e0dadf);
    background: -moz-linear-gradient(center top, #f7f6f7 0, #e0dadf 100%);
    background: -moz-gradient(center top, #f7f6f7 0, #e0dadf 100%);
    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.075), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.075), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.075), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.1);
    bottom: 0;
    right: 0;
    -webkit-border-top-left-radius: 0;
    -webkit-border-top-right-radius: 0;
    -moz-border-radius-topleft: 0;
    -moz-border-radius-topright: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    z-index: 1;
}
#bulk-dropdown .qty-block .plus {
    display: block;
    padding: 0;
    margin: 0;
    position: absolute;
    text-align: center;
    vertical-align: text-top;
    width: 20px;
    height: 15px;
    overflow: visible;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    line-height: 13px;
    font-size: 12px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    color: #5e5e5e;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid #c8bfc6;
    background: #f7f6f7;
    background: -webkit-gradient(linear, left top, left bottom, from(#f7f6f7), to(#e0dadf));
    background: -webkit-linear-gradient(#f7f6f7, #e0dadf);
    background: -moz-linear-gradient(center top, #f7f6f7 0, #e0dadf 100%);
    background: -moz-gradient(center top, #f7f6f7 0, #e0dadf 100%);
    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.075), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.075), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.075), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.1);
    top: 0;
    right: 0;
    border-bottom: 0;
    -webkit-border-bottom-left-radius: 0;
    -webkit-border-bottom-right-radius: 0;
    -moz-border-radius-bottomleft: 0;
    -moz-border-radius-bottomright: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
/* end plus/minus CSS */

#bulk-dropdown .qty_disabled {
    opacity: 0.5;
}
#bulk-dropdown.loading {
    position: relative;
}
#bulk-dropdown.loading:after {
    background-image: url(//s3.amazonaws.com/science-assets/FilterBuy/160906/rolling.gif);
    background-repeat: no-repeat;
    background-position: center center;
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
}
#bulk-dropdown.loading form {
    visibility: hidden;
}
#bulk-dropdown input[type=number] {
    -moz-appearance: textfield;
}
#bulk-dropdown::-webkit-inner-spin-button,
#bulk-dropdown::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
#bulk-dropdown form button.disabled {
    position: relative;
}
#bulk-dropdown form button.disabled .tooltiptext {
    background-color: #999;
    border-radius: 6px;
    bottom: -36px;
    color: red;
    font-size: 13px;
    right: 0;
    opacity: 0.6;
    padding: 6px 4px;
    position: absolute;
    text-align: center;
    visibility: hidden;
    width: 190px;
    z-index: 1;
}
#bulk-dropdown form button:not(.disabled) .tooltiptext {
    display: none;
}
#bulk-dropdown form button.disabled:hover .tooltiptext {
    visibility: visible;
}
#bulk-dropdown .remove-block input {
    background: none;
    border: none;
    color: #bfbcbc;
    font-size: 20px;
    padding: 0;
}
#bulk-dropdown .remove-block input:hover {
    color: #e80000;
}
.filter-grp .size-row.error {
    background: rgba(255, 0, 0, 0.06);
}
.filter-grp > div {
    margin: 4px 0 10px;
}
.row.header-row {
    border-bottom: solid 2px #999;
}
.custom-size .customSize-error {
    color: red;
    margin: 4px 0;
}
#bulk-dropdown {
    background: #eee;
    clear: both;
    margin: 0 auto;
    max-width: 970px;
    padding: 15px 25px;
}
.filter-grp .row .block {
    vertical-align: top;
}
.filter-grp .header-row > div,
.filter-grp .row .block {
    display: inline-block;
    padding-right: 25px;
}
.filter-grp .hdr-size,
.filter-grp .size-block {
    width: 300px;
}
.filter-grp .hdr-merv,
.filter-grp .merv-block {
    width: 290px;
}
.filter-grp .hdr-price,
.filter-grp .price-block {
    width: 150px;
}
.size-row select {
    padding: 4px;
    width: 100%;
}
.qty-block.qty-block {
    margin-right: 25px;
    position: relative;
    vertical-align: bottom;
    width: 74px;
}
.filter-grp .hdr-qty {
    margin-right: 25px;
    width: 74px;
}
.qty-block .quantity {
    border: solid 1px #999;
    line-height: 20px;
    padding: 4px 6px;
    width: 55px;
}
#bulk-dropdown .hidden {
    display: none;
}
#bulk-dropdown .buttons {
    margin-top: 10px;
}
#bulk-dropdown button {
    background: #1188dd;
    border-radius: 3px;
    border: none;
    color: #fff;
    display: inline-block;
    font-weight: bold;
    font-size: 22px;
    padding: 7px 10px;
}
#bulk-dropdown button.close {
    background: #aaa;
    margin-right: 10px;
}
#bulk-dropdown button.close:hover {
    background: #c59c9c;
}
.filter-grp {
    margin-bottom: 16px;
}
.price-block.grey {
    color: #999;
}
.custom-size .size-block input {
    border: none;
    background: none;
    color: blue;
    text-decoration: underline;
}
#bulk-dropdown .hdr-size {
    font-size: 18px;
    font-weight: bold;
}
.custom-size label {
    font-weight: normal;
}
#bulk-dropdown .price-block.disabled {
    color: #777;
}
#bulk-dropdown .filter-grp > input {
    background: #ddd;
    border: solid 1px;
    border-color: #bbb #555 #555 #bbb;
    margin-top: 4px;
    padding: 6px 10px;
}
#bulk-dropdown .filter-grp > input:hover {
    background: rgba(0, 150, 136, 0.11);
}
.price-block.loading:after {
    background-image: url('//s3.amazonaws.com/science-assets/FilterBuy/160906/rolling.gif');
    background-repeat: no-repeat;
    background-size: 100% auto;
    content: "";
    display: inline-block;
    height: 10px;
    margin-left: 10px;
    width: 10px;
}
.dcjq-mega-menu ul.menu li.bulk-menu-item.active a {
    background-color: #eee;
    color: #4fab5c;
}
.dcjq-mega-menu ul.menu li.bulk-menu-item.active a .dc-mega-icon {
    -moz-transform: scaleY(-1);
    -webkit-transform: scaleY(-1);
    -o-transform: scaleY(-1);
    transform: scaleY(-1);
    -ms-filter: flipv;
    filter: flipv;
}
#bulk-dropdown label.merv-radio {
    border: solid 2px #eee;
    color: #222;
    cursor: pointer;
    display: inline-block;
    font-size: 10px;
    line-height: normal;
    padding: 4px 6px;
    text-align: center;
}
#bulk-dropdown .error label.merv-radio {
    border-color: #efe0e0;
}
#bulk-dropdown label.merv-radio b {
    display: block;
    font-size: 12px;
}
#bulk-dropdown .merv-radio:hover,
#bulk-dropdown .merv-select:checked + .merv-radio {
    border-color: #18d;
    color: #fff;
}
#bulk-dropdown .merv-select:checked + #bulk-dropdown .merv-radio {
    cursor: default;
}
#bulk-dropdown .merv-select {
    display: none;
}
@media only screen and (max-width: 1050px) {
    .adv_search {
        margin-top: 5px!important;
    }
    .filter-grp .hdr-merv,
    .filter-grp .merv-block {
        width: 160px;
    }
    #bulk-dropdown label.merv-radio {
        padding: 4px 0;
        width: 50%;
    }
    .filter-grp .hdr-size,
    .filter-grp .size-block {
        width: 200px;
    }
}
@media (max-width: 1024px) and (min-width: 768px) and (orientation: landscape) {
    #bulk-dropdown {
        max-width: 90%;
    }
}
@media only screen and (max-width: 750px) {
    #bulk-dropdown .hdr-remove {
        bottom: 0;
        position: absolute;
        right: 10px;
    }
    #bulk-dropdown .header-row {
        position: relative;
    }
    #bulk-dropdown .size-row {
        border-bottom: solid 1px #888;
        margin-bottom: 20px;
        padding-bottom: 10px;
        position: relative;
    }
    .filter-grp div.block.remove-block {
        padding: 0;
        position: absolute;
        top: 0;
        right: 10px;
    }
    .filter-grp div.hdr-price {
        display: none;
    }
    .filter-grp .row div.price-block:before {
        content: "Price: ";
        font-weight: bold;
    }
    .filter-grp .row div.price-block {
        display: block;
        margin: 10px 0;
        width: 100%;
    }
    .filter-grp div.hdr-period {
        display: none;
    }
    .filter-grp div.period-block:before {
        content: "Period: ";
    }
}
@media only screen and (min-width: 720px) and (max-width: 800px) {
    #bulk-dropdown {
        padding: 15px 10px;
    }
}
@media only screen and (max-width: 570px) {
    .filter-grp .header-row > .hdr-remove {
        display: none;
    }
    #bulk-dropdown {
        margin-bottom: 10px;
        padding: 15px 10px;
    }
    .filter-grp .header-row div.hdr-merv,
    .filter-grp .header-row div.hdr-qty {
        display: none;
    }
    .qty-block.qty-block {
        margin-top: 24px;
    }
    .block.qty-block:before {
        content: "Qty:";
        position: absolute;
        top: -24px;
    }
    .filter-grp div.hdr-period {
        display: none;
    }
    .filter-grp div.period-block:before {
        content: "Period: ";
    }
    #bulk-dropdown .remove-block input {
        background: #dadada;
        border: solid 1px;
        border-radius: 3px;
        color: #888;
        margin: 0;
        padding: 2px 8px;
    }
    .filter-grp .row div.size-block {
        display: block;
        margin: 16px 0;
        max-width: 350px;
        width: 80%;
    }
    #bulk-dropdown .buttons:after {
        content: "See Cart for order total";
        color: #555;
        display: block;
        margin-top: 10px;
    }
    .filter-grp .hdr-merv,
    .filter-grp .merv-block {
        width: 150px;
    }
    #bulk-dropdown .buttons {
        margin-top: 40px;
    }
}
