/*http://dimox.name/examples/checkboxes-radio-buttons-using-css/demo-2/*/

.inner-center-column {
    margin-top: 1rem;
}

.search-title {
    font-weight: 300;
    font-size: 2.2rem;
    color: #333;
    margin-top: 2rem;
    margin-bottom: 0.2rem;
    letter-spacing: -0.03em;
}

.search-title-small {
    font-size: 1.8rem;
}

.panel-info {
    margin-bottom: 1rem;
    justify-content: space-between;
    align-items: center;
}

.panel-info .dropdown-item {
    font-size: 0.9em;
    padding: .5rem 1.5rem;
}

.panel-info .col-9,
.panel-info .col-3 {
    max-width: fit-content;
    display: flex;
}

.dropdown-toggle {
    font-size: 1rem;
}

.panel-info .dropdown-menu.show {
    border-radius: 6px;
    margin: 0;
    padding: 0;
    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12), 0 2px 4px -1px rgba(0, 0, 0, .2);
}

.mobile-filters {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: auto;
    z-index: 3;
    position: fixed;
    background: #fff;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem 1rem 0 1rem;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
}

.filter_head {
    margin-bottom: 2rem;
}

.filter_block {
    margin-bottom: 1.5rem;
}

.filter_head H2 {
    font-size: 1.6rem;
    border-bottom: 3px solid #008c44;
    margin-bottom: 1.2rem;
    padding-bottom: 0.2rem;
}

.filter_head ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9em;
}

.filter_block H3 {
    font-size: 1.2rem;
}

.filter_block ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9em;
    max-height: 20rem;
    overflow-y: auto;
}

.filter_block ul::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
}

.filter_block ul::-webkit-scrollbar {
    width: 8px;
    background-color: #F5F5F5;
    padding-bottom: 5px;
}

.filter_block ul::-webkit-scrollbar-thumb {
    background-color: #F90;
    background-image: -webkit-linear-gradient(45deg,
    rgba(255, 255, 255, .2) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, .2) 50%,
    rgba(255, 255, 255, .2) 75%,
    transparent 75%,
    transparent)
}

.filter_block ul.normal li:nth-child(n+6) {
    display: none;
}

.filter_block ul.normal.opened li:nth-child(n+6) {
    display: flex;
}

.filter_block ul.sort li:nth-child(n+8) {
    display: none;
}

.filter_block ul.sort.opened li:nth-child(n+8) {
    display: flex;
}

.filter_block ul li.subhead {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.filter_block ul input[type=checkbox] {
    margin-right: 5px;
}

.filter_block ul li a, .filter_block ul li a:visited {
    display: block;
    color: #000 !important;
}

.filter_head ul li.active {
    font-weight: 500;
}

.filter_block h3 .info {
    color: #808080;
    margin-left: 0.5em;
    font-weight: normal;
}

.filter_head ul a, .filter_head ul a:visited {
    color: #4a7596 !important;
    font-weight: 300;
}

.filter_head ul li.active a, .filter_head ul li.active a:visited {
    color: #000 !important;
}

.filter_head ul li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter_head .back {
    font-size: 0.8em;
    margin-top: 0.5rem;
}

.filter_head .cnt {
    order: 1;
}

.filter_head ul a {
    margin-right: 10px;
}

.filter_head ul label {
    margin: 0;
}

.filter_head .back a, .filter_head .back a:visited {
    color: #ff771c !important;
}

.filter_block .see-all {
    display: none;
    font-size: 0.8em;
    margin-top: 0.5rem;
}

.filter_block .see-all a, .filter_block .see-all a:visited {
    color: #ff771c !important;
}

.filter_block .see-all i {
    font-size: 0.8em;
}

.filter_block .btn-search {
    cursor: pointer;
}

.search-layout {
    margin-top: 2rem;
}

.trade-offers {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #ededed;
    border-left: 1px solid #ededed;
}

.trade-offer {
    flex: 0 0 25%;
    max-width: 25%;
    overflow: hidden;
    border-right: 1px solid #ededed;
    border-bottom: 1px solid #ededed;
    padding: 1rem;
    font-weight: 300;
    position: relative;
    display: flex;
    flex-direction: column;
    max-height: 500px;
}

.trade-offer .image {
    overflow: hidden;
    text-align: center;
}

.trade-offer .image img {
    max-width: 100%;
}

.trade-offer h2 {
    font-size: 1rem;
    font-weight: 300;
    margin-top: 0.5rem;
    margin-bottom: auto;
    overflow: hidden;
}

.trade-offer h2 a, .trade-offer h2 a:visited {
    color: #000 !important;
    font-weight: 600;
    text-decoration: none;
}

.trade-offer .model {
    font-size: 0.7em;
}

.trade-offer .compare {
    font-size: 0.8em;
    vertical-align: text-top;
}

.trade-offer .rating {
    margin-top: 0.3rem;
    font-size: 0.8em;
}

.trade-offer .rating .star_fo {
    width: 0.8rem;
    height: 0.8rem;
    margin-right: 0.1rem;
}

.trade-offer .pricingReg {
    font-size: 1rem;
    margin-top: 20px;
}

.trade-offer .price__currency {
    font-size: 1rem;
}

.trade-offer .price__dollars {
    font-size: 1.5rem;
    margin-left: .275rem;
    font-weight: 600;
}

.trade-offer .price__cents {
    display: inline-block;
    font-size: 0.8em;
    position: relative;
    top: -0.9em;
    margin-left: 0.2em;
}

.trade-offer .benefits {
    font-size: 0.8em;
    letter-spacing: -.015rem;
}

.trade-offer .benefits i {
    color: green;
}

.trade-offer .button {
    display: block;
    margin-top: 1rem;
    text-align: center;
    border: 2px solid #ff771c;
    cursor: pointer;
    font-weight: bold;
    color: #ff771c;
    padding: 0.3rem 0;
    border-radius: 2px;
}

.trade-offer .button:visited {
    color: #ff771c !important;
}

.trade-offer .button:hover {
    text-decoration: none;
    background-color: #ff771c;
    color: #fff !important;
}

.offer-premium {
    background-color: #fef6e6;
}

.offer-banner {
    padding: 0rem;
    padding-top: 1rem;
    text-align: center;
}

.trade-offer.offer-banner {
    max-height: 500px !important;
    padding-top: 0;
    height: 500px !important;
}

.offer-banner img {
    max-width: 100%;
}

.filter-active {
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 0.9em;
}

.filter-active span {
    display: inline-block;
    background: #ededed;
    border-radius: 10px;
    font-weight: normal;
    padding: 0 1em;
    margin-left: 0.5rem;
    cursor: pointer;
}

.filter-active span:after {
    content: "x";
    display: inline-block;
    margin-left: 5px;
    font-weight: bold;
    color: #cf0b28;
}

.checkbox input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.checkbox__text {
    position: relative;
    padding: 0 0 0 1.7rem;
    cursor: pointer;
    line-height: 20px;
}

.checkbox__text:before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    border: 2px solid #989898;
    width: 20px;
    height: 20px;
    background: #fff;
}

.checkbox__text:after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 20px;
    height: 20px;
    opacity: 0;
    background: url('/assets/wide/icons/check.png') center center no-repeat;
}

.checkbox input:checked + .checkbox__text:before {
    background: #ff771c;
    border-color: #ff771c;
}

.checkbox input:checked + .checkbox__text:after {
    opacity: 1;
}

.pricingReg .no-price {
    font-size: 1.5em;
}

.fa-search::before {
    color: #808080;
}

.w-content {
    font-size: 0.9em;
}

#btn_add.btn-outline-danger,
#btn_rfq.btn-outline-danger,
#btn_filter.btn-outline-danger {
    color: #ff771c;
    border-color: #ff771c;
}

#btn_add.btn-outline-danger:hover,
#btn_rfq.btn-outline-danger:hover,
#btn_filter.btn-outline-danger:hover {
    color: #fff;
    background-color: #ff771c;
    border-color: #ff771c;
}

.btn-outline-danger:not(:disabled):not(.disabled).active, .btn-outline-danger:not(:disabled):not(.disabled):active, .show > .btn-outline-danger.dropdown-toggle {
    color: #fff;
    background-color: #ff771c;
    border-color: #ff771c;
}

#btn_add, #btn_rfq {
    font-size: 1rem;
    font-weight: bold;
    border-width: 2px;
    padding-left: 3rem;
    padding-right: 3rem;
}

#btn_add:focus, #btn_rfq:focus, .trade-offer .button:focus {
    box-shadow: none;
    outline: none;
    background-color: #ff771c;
    color: #fff !important;
}

#btn_order, #btn_filter {
    border-color: #ccc;
    background-color: #fff;
    min-width: 14rem;
}

#btn_order:hover, #btn_filter:hover {
    background-color: #f0f0f0;
}

.btn-filter {
    display: none;
}

.panel-info #btn_order {
    min-width: 15rem;
}

.btn-order .dropdown-menu {
    width: 100%;
}

.filter_block__close {
    display: none;
}

.trade-banner-hr {
    width: 100%;
    margin-top: 1.825rem;
    margin-bottom: 1.425rem;
    display: block;
    text-align: center;
}

.trade-banner-hr img {
    width: 100%;
    max-width: 720px;
    height: auto;
}

@media screen and (min-width: 1600px) {
    .trade-offer {
        overflow: hidden;
        flex: 0 0 20%;
        max-width: 20%;
    }

    #main_content {
        max-width: 1440px;
    }
}

@media screen and (min-width: 1300px) {
    #main_content {
        max-width: 1440px;
    }

    .container.main-fixed {
        position: static;
    }
}

@media screen and (max-width: 1299px) {
    .nav-chain, .search-title {
        padding-left: 5px;
    }

    .search-layout {
        padding-left: 20px;
        padding-right: 15px;
    }

    .search-layout .col-3 {
        padding-left: 0;
    }

    .search-layout .col-9 {
        padding-right: 0;
    }

    .panel-info .col-3 {
        padding-left: 1rem;
    }

    .panel-info .col-9 {
        padding-right: 1rem;
    }

    .panel-info #btn_order {
        min-width: 14rem;
    }

    #btn_add, #btn_rfq {
        padding-left: 2rem;
        padding-right: 2rem;
        min-width: 14rem;
    }
}

@media screen and (max-width: 1024px) {
    .trade-offer {
        flex: 0 0 33.333%;
        max-width: 33.333%;
        text-align: center;
    }

    .nav-chain, .search-title {
        padding-left: 5px;
    }

    .nav-chain {
        margin: 0 0 .5rem 0;
    }

    .search-title {
        font-size: 1.5rem;
        margin-top: 0;
    }

    .search-layout {
        margin-top: 1rem;
    }

    .panel-info {
        flex-direction: column;
    }

    .panel-info .col-3 {
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 940px) {
    .trade-offer {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 900px) {
    .search-layout {
        padding-left: 15px;
    }

    .trade-offer h2 {
        margin-top: 1rem;
    }
}

@media screen and (min-width: 450px) and (max-width: 510px) {
    .trade-offer .price__dollars {
        font-size: 1.1rem;
    }

    .trade-offer .pricingReg {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 769px) {
    body.hidden {
        overflow: hidden;
    }

    #main_content .search-layout .col-9 {
        flex: 0 0 100%;
        max-width: 100%;
        padding-right: 1%;
        padding-left: 1%;
        transition: all .5s ease;
    }

    .nav-chain, .search-title {
        text-align: center;
    }

    .trade-offer {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }

    #main_content .search-layout .col-3 {
        padding-right: 0;
        display: none;
    }

    #main_content .search-layout.hidden {
        display: none;
    }

    .panel-info {
        margin-left: 0;
        margin-right: 0;
    }

    .panel-info .col-6 {
        flex: 0 0 32%;
        max-width: 32%;
        padding-left: 0;
        padding-right: 0;
    }

    #main_content .search-layout .col-9.text-right {
        padding-left: 0;
        padding-right: 0;
        display: flex;
        flex-flow: column wrap;
    }

    .panel-info .col-6:nth-child(2) {
        margin-left: 2%;
        margin-right: 2%;
    }

    #btn_filter, .btn-group, .panel-info #btn_order, #btn_add {
        min-width: unset;
        width: 100%;
    }

    .btn-filter {
        display: block;
    }

    .panel-info #btn_add, .panel-info #btn_rfq {
        min-width: 15rem;
        padding: .5rem .95rem;
        font-size: 1.4rem;
    }

    .col-6 .btn-order, .panel-info #btn_add, .panel-info #btn_rfq {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        margin-left: 0 !important;
    }

    .search-layout .panel-info .btn-filter, .panel-info #btn_rfq {
        margin-bottom: .325rem;
        max-width: 100%;
        flex: 100%;
    }

    #btn_filters_mobile_apply {
        width: 100%;
        padding: 15px 0;
        color: #ffffff;
        background-color: #E69E19;
        border-radius: 0;
        font-size: 1.5rem;
    }

    .filter-buttons {
        text-align: center;
        padding: 1rem 0;
    }

    .btn-filter {
        display: block;
    }

    #btn_filter {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        font-size: 1.5rem;
    }

    #btn_add {
        padding-bottom: .325rem;
        padding-top: .325rem;
    }

    .mobile-filters.opened {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    .mobile-filters .widjet {
        display: none;
    }

    #frm_filters_mobile {
        max-height: calc(100% - 4.5rem);
        overflow-y: auto;
    }

    .filter_block__close {
        width: 25px;
        height: 25px;
        position: relative;
        border: none;
        background: transparent;
        padding: 0;
        cursor: pointer;
        display: block;
    }

    .filter_block__close::before,
    .filter_block__close::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background: #000000;
        top: 48%;
        left: 0;
    }

    .filter_block__close::before {
        transform: rotate(45deg);
    }

    .filter_block__close::after {
        transform: rotate(-45deg);
    }

    .filter_head H2 {
        font-size: 1.3rem;
        margin-bottom: .5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .filter_block H3 {
        font-size: .975rem;
    }

    .filter_block ul li, .filter_head ul li {
        font-size: .85rem;
        line-height: 1rem;
    }

    .filter_block .fields .fldr {
        width: 35% !important;
        line-height: 1rem;
        font-size: .925rem;
    }

    .filter_block {
        margin-bottom: 1rem;
    }

}

@media (max-width: 740px) and (orientation: landscape) {
    .panel-info .col-6 {
        flex: 0 0 32%;
        max-width: 32%;
    }

    #frm_filters_mobile {
        max-height: calc(100% - 3rem) !important;
    }

    .panel-info .col-6:nth-child(2) {
        margin-left: 2%;
        margin-right: 2%;
    }

    .panel-info .col-6.btn-filter {
        text-align: left !important;
    }

    .btn-group, .panel-info #btn_order, #btn_add {
        min-width: unset;
        width: 100%;
    }
}

@media screen and (min-width: 660px) and (max-width: 670px) {
    .col-6.text-right {
        margin-right: 0;
        margin-left: 0;
    }

    .search-layout .col-3 {
        flex: 0 0 26%;
        max-width: 26%;
    }

    .search-layout .col-9 {
        padding-right: 0;
        padding-left: 2%;
    }

    .nav-chain {
        font-size: 1rem;
    }

    .panel-info #btn_order {
        min-width: unset;
        padding: .375rem 1.29rem;
    }

    #btn_add {
        padding: .3rem 2.5rem;
    }
}

@media screen and (min-width: 550px) and (max-width: 570px) {
    .search-layout .col-3 {
        flex: 0 0 40%;
        max-width: 37.5%;
        padding-right: 0;
    }

    .search-layout .col-9 {
        padding-right: 0;
        flex: 0 0 60%;
        max-width: 60%;
    }

    .search-layout .panel-info {
        display: inline-block;
    }

    .search-layout .panel-info .col-6:first-child {
        display: inline-block;
        width: 100%;
        margin-bottom: 2%;
        text-align: center;
        max-width: unset;
    }

    .col-6.text-right {
        max-width: 100%;
        display: inline-block;
        text-align: center !important;
    }

    .trade-offer {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .trade-offer .pricingReg, .trade-offer h2, .trade-offer .benefits {
        text-align: center;
    }
}

@media screen and (max-width: 450px) {
    #main_content .search-layout .col-9 {
        padding-left: 0;
        padding-right: 0;
    }

    .banner-top {
        display: none;
    }

    .trade-offer.offer-banner {
        text-align: center;
        overflow: hidden;
        height: auto !important;
        min-height: unset !important;
        padding-bottom: 1rem;
        max-height: 500px;
    }

    .nav-chain {
        margin: 0 0 .5rem 0;
        padding: .5rem 3%;
        text-align: center;
    }

    .nav-chain li {
        display: inline;
    }

    .search-title {
        padding: 0 3%;
        text-align: center;
    }

    .search-title strong {
        font-weight: 300 !important;
    }

    .panel-info {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: .5rem;
    }

    .panel-info .col-6 {
        padding-right: 0;
        padding-left: 0;
        display: flex;
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 0;
    }

    .search-layout {
        margin-right: 0;
        margin-left: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .panel-info #btn_order {
        padding: .5rem .95rem;
        min-width: 15.1rem;
        width: 100%;
        font-size: 1.5rem;
        display: none;
    }

    .panel-info .dropdown-menu.show {
        width: 100%;
    }

    .panel-info .dropdown-item {
        font-size: 1.5rem;
        text-align: center;
    }

    .navbar-light .navbar-brand {
        display: none;
    }

    .search-layout .col-3 {
        display: none;
    }

    .search-layout .col-3.opened {
        display: block;
        flex: 0 0 100%;
        max-width: 100%;
        position: inherit;
    }

    .search-layout .col-3.opened #frm_filters {
        background: #fff;
        display: block;
        max-width: 100%;
        overflow-y: auto;
        max-height: 22rem;
        padding: 0 1rem;
    }

    .search-layout .col-9 {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0;
    }

    .filter_block ul li, .filter_head ul li, .filter_block .see-all {
        font-size: 1rem;
    }

    .mobile-filters .widjet {
        display: none;
    }

    #main_content .search-layout.hidden {
        display: none;
    }

    .filter-buttons {
        text-align: center;
        padding: 0;
        border-top: 1px solid #008c44;
        margin-left: -16px;
        margin-right: -16px;
    }

    #frm_filters_mobile {
        max-height: calc(100% - 3rem);
        overflow-y: auto;
    }

    .trade-offer {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: .5rem;
        padding-right: .5rem;
        padding-top: .5rem;
        max-height: none;
    }

    .trade-offer .image {
        height: auto;
    }

    .trade-offer h2 {
        padding: 0 10px;
        font-size: 1.5rem;
    }

    .trade-offer .pricingReg, .trade-offer h2, .trade-offer .benefits {
        text-align: center;
    }

    .trade-offer .price__dollars {
        font-size: 1.8rem;
    }

    .trade-offer .pricingReg {
        font-weight: 500;
        font-size: 1.4rem;
    }

    .trade-offer .price__currency {
        font-size: 1.3rem;
    }

    .trade-offer .benefits {
        font-size: 1.2rem;
    }

    .trade-offer .benefits .avail, .trade-offer .benefits .quant_min {
        display: inline-block;
    }

    .trade-offer .button {
        font-size: 1.1rem;
        min-width: unset !important;
        padding: .75rem .5rem !important;
    }
}

@media screen and (max-width: 340px) {
    .page-nav a, .page-nav span {
        padding: 0.25em .5em;
    }

    .trade-offers {
        border-left: 0;
    }

    .trade-offer {
        margin-top: 1rem;
        border-bottom: 1px solid #ededed;
        border-left: 1px solid #ededed;
        border-top: 1px solid #ededed;
    }

    .trade-offer .button {
        width: 100% !important;
    }

    .trade-offer h2 {
        margin-top: .5rem;
        line-height: 1.6rem;
    }
}
