﻿html {
    height: 100%;
}

*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

body {
    font-weight: 300;
    font-size: 15px;
    color: #333;
    overflow: scroll;
    overflow-x: hidden;
}

.companyLogoDiv > img {
    /*margin-right: 20px;*/
    width: auto;
    height: auto;
}

.btn-apply-filter{
    margin:0 !important;
}
/*.container {
    width: 100%;
    position: relative;
}

.container > header {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
    padding: 0 30px 50px 30px;
}

.container > header {
    padding: 60px 30px 50px;
    text-align: center;
}

.container > header h1 {
    font-size: 34px;
    line-height: 38px;
    margin: 0 auto;
    font-weight: 700;
    color: #333;
}

.container > header h1 span {
    display: block;
    font-size: 20px;
    font-weight: 300;
}
*/
.main > p {
    text-align: center;
    padding: 50px 20px;
}

p .description {
    padding: 10px 0px;
}

/* Header Style */
.codrops-top {
    line-height: 24px;
    font-size: 11px;
    background: #fff;
    background: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    z-index: 9999;
    position: relative;
    box-shadow: 1px 0px 2px rgba(0,0,0,0.2);
}

.codrops-top a {
    padding: 0px 10px;
    letter-spacing: 1px;
    color: #333;
    display: inline-block;
}

.codrops-top a:hover {
    background: rgba(255,255,255,0.8);
    color: #000;
}

.codrops-top span.right {
    float: right;
}

.codrops-top span.right a {
    float: left;
    display: block;
}

/***************/
/**** Grid *****/
/***************/

.k-animation-container, .k-animation-container *, .k-animation-container :after, .k-block .k-header, .k-list-container, .k-widget, .k-widget *, .k-widget :before {
    box-sizing: inherit !important;
}

.main {
    margin: 0 0 0 22px;
}

.bg-grid {
    list-style: none;
    padding: 20px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    position: relative;
    border: none !important;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
}

.bg-grid li.BG-Product-Grid-Item > a {
    outline: none;
    display: inline-block;
    position: relative;
    width: 200px;
    height: 200px;
}

.bg-grid li.BG-Product-Grid-Item > a img {
    width: 100%;
    height: auto;
}

.bg-grid li.BG-Product-Grid-Item img.thumb_product {
    border: 1px solid #000;
}

li.bg-expanded {
    height: 937px;
    transition: height 400ms ease 0s;
}

.bg-grid li.bg-expanded > a::after {
    top: auto;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-bottom-color: #000;
    bottom: -14px;
    border-width: 15px;
    left: 50%;
    margin: -20px 0 0 -15px;
}

.bg-expander {
    position: absolute;
    background: #fff;
    top: auto;
    left: 0;
    width: 100%;
    margin-top: 10px;
    text-align: left;
    height: 0;
    overflow: auto;
    border: 1px solid #000;
    z-index: 10001 !important;
}

.bg-expander-inner {
    padding: 50px 30px;
    height: 100%;
}

.bg-filter-close {
    position: absolute;
    width: 30px;
    height: 30px;
    top: 10px;
    right: 20px;
    cursor: pointer;
    z-index: 999;
}

.bg-filter-close::before,
.bg-filter-close::after {
    content: '';
    position: absolute;
    width: 100%;
    top: 50%;
    height: 1px;
    background: #888;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}

.bg-filter-close::after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.bg-filter-close:hover::before,
.bg-filter-close:hover::after {
    background: #333;
}

.bg-close {
    position: absolute;
    width: 40px;
    height: 40px;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

.bg-close::before,
.bg-close::after {
    content: '';
    position: absolute;
    width: 100%;
    top: 50%;
    height: 1px;
    background: #888;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}

.bg-close::after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.bg-close:hover::before,
.bg-close:hover::after {
    background: #333;
}

.bg-fullimg,
.bg-details {
    width: 50%;
    float: left;
    height: 100%;
    position: relative;
    overflow: auto;
}

.bg-details {
    padding: 10px;
}

.bg-fullimg {
    text-align: center;
}

.bg-fullimg img {
    display: inline-block;
    max-height: 100%;
    max-width: 100%;
}

.bg-details h3 {
    font-weight: 300;
    font-size: 52px;
    padding: 20px 0 10px;
    margin-bottom: 10px;
}

.bg-details p {
    font-size: 15px;
    line-height: 22px;
    color: #000;
}

.bg-details a.link-request {
    font-weight: 700;
    font-size: 16px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px 20px;
    border: 3px solid #333;
    display: inline-block;
    margin: 30px 0 0;
    outline: none;
}

    .bg-details a.link-request::before {
        content: '\2192';
        display: inline-block;
        margin-right: 10px;
    }

.bg-details a:hover {
    border-color: #000;
    color: #000;
}

.bg-loading {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ddd;
    box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ccc;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -25px 0 0 -25px;
    -webkit-animation: loader 0.5s infinite ease-in-out both;
    -moz-animation: loader 0.5s infinite ease-in-out both;
    animation: loader 0.5s infinite ease-in-out both;
}


@-webkit-keyframes loader {
    0% {
        background: #000;
    }

    33% {
        background: #000;
        box-shadow: 0 0 1px #000, 15px 30px 1px #000, -15px 30px 1px #000;
    }

    66% {
        background: #000;
        box-shadow: 0 0 1px #000, 15px 30px 1px #000, -15px 30px 1px #000;
    }
}

@-moz-keyframes loader {
    0% {
        background: #000;
    }

    33% {
        background: #000;
        box-shadow: 0 0 1px #000, 15px 30px 1px #000, -15px 30px 1px #000;
    }

    66% {
        background: #000;
        box-shadow: 0 0 1px #000, 15px 30px 1px #000, -15px 30px 1px #000;
    }
}

@keyframes loader {
    0% {
        background: #000;
    }

    33% {
        background: #000;
        box-shadow: 0 0 1px #000, 15px 30px 1px #000, -15px 30px 1px #000;
    }

    66% {
        background: #000;
        box-shadow: 0 0 1px #000, 15px 30px 1px #000, -15px 30px 1px #000;
    }
}

@media screen and (max-width: 830px) {
    .bg-expander h3 {
        font-size: 32px;
    }

    .bg-expander p {
        font-size: 13px;
    }

    .bg-expander a {
        font-size: 12px;
    }
}

@media screen and (max-width: 650px) {
    .bg-fullimg {
        display: none;
    }

    .bg-details {
        float: none;
        width: 100%;
    }
}

.bg-disclaimer {
    margin-top: 15px;
}

.badge {
    padding: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 12px;
    color: #fff;
    line-height: 22px;
    text-align: center;
    background: #bb0000;
}

.badge-notify {
    background: red;
    position: relative;
    top: -20px;
    right: 7px;
}

.btn-cart {
    color: #fff;
    background-color: #444;
    border-color: #444;
}

.btn-cart:hover,
.btn-cart:active,
.btn-cart:focus,
.btn-cart::after {
    color: #444;
    background-color: #fff;
    border-color: #444;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: rgba(0,0,0,0.7);
    display: none;
}

.overlay-title {
    position: absolute;
    background-color: rgba(0,0,0,0.7);
    z-index: 3;
}

.title-hover-effect {
    font-family: "Roboto";
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    position: absolute;
    bottom: 0;
    text-align: center;
    padding: 10px 10px 10px 10px;
    width: 100%;
}

p {
    margin: 0;
}

p, pre {
    margin: 0;
}

ul.checkbox {
    column-count: 3;
    column-gap: 2em;
    list-style-type: none;
    padding: 0;
    margin: 0;
    max-height: 100%;
    overflow-y: auto;
}

ul.checkbox li {
    break-inside: avoid;
    font-size: 15px;
    padding-top: 15px;
}

ul.checkbox li input {
    margin-right: .25em;
}

/* Tablet: reduce to 2 columns */
@media (max-width: 768px) {
    ul.checkbox {
        column-count: 2;
    }
}

/* Mobile: force single-column layout using flex */
@media (max-width: 480px) {

    ul.checkbox {
        column-count: initial;
        display: flex;
        flex-direction: column;
        gap: 10px;
        overflow-y: auto;
        max-height: 100%;
        width: 100%;
        box-sizing: border-box;
        padding-right: 10px;
        padding-bottom: 40px; /* <-- space for APPLY button */
    }

    ul.checkbox li {
        word-break: break-word; /* Ensures long names wrap inside container */
    }
}

/*
ul.checkbox {
    margin: 0;
    padding: 0px 0 0 20px;
    margin-left: 20px;
    list-style: none;
    height: 200px;
    overflow: auto;
    overflow-x: hidden;
}*/


/*

ul.checkbox li {
    border: 1px transparent solid;
    font-size: 15px;
    display: inline-block;
    width: 22em;
    padding-top: 15px;
}*/

.overlay img {
    position: absolute !Important;
    right: 0;
    top: 0;
}

ul.checkbox li label {
    margin-left: 20px;
}

.btn-filter {
    color: #000;
    background-color: #fff;
    border-color: transparent;
    border-radius: 0px;
}

.btn-filter:hover,
.btn-filter:active {
    color: #fff;
    background-color: #db1921;
    border-color: transparent;
}


.btn-filter:focus,
.btn-filter::after {
    color: #000;
    background-color: #fff;
    border-color: transparent;
}

.btn-apply-filter {
    color: #000;
    background-color: #fff;
    border-color: #000;
    border-radius: 0px;
    margin: 10px 20px;
}

.btn-apply-filter:hover,
.btn-apply-filter:active,
.btn-apply-filter:focus,
.btn-apply-filter::after {
    color: #fff;
    background-color: #000;
    border-color: #fff;
}

input[type='checkbox'] {
    align-items: center;
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    background: white;
    border-radius: 3px;
    border: 1px solid #555;
}

input[type='checkbox']:checked {
    -webkit-appearance: checkbox;
}

/*****
iPhone 5 and smaller.
*****/
@media only screen and (min-width: 319px) and (max-width: 374px) {
    .btn-loadMore-large {
        border-radius: 0px;
        width: 300px;
        font-size: 12px;
        font-weight: 500;
    }

    .bg-grid li.BG-Product-Grid-Item {
        height: 200px;
        clear: both;
    }

    .bg-grid li.BG-Product-Grid-Item > a,
    .bg-grid li.BG-Product-Grid-Item > a img {
        width: 200px;
        height: 200px;
    }

    .btn-filter {
        font-size: 11.5px;
    }

    .outter-filters {
        margin: 0;
    }

    .outter-title {
        margin: 15px 0 0;
    }

    ::-webkit-scrollbar {
        -webkit-appearance: none;
    }

    ::-webkit-scrollbar:vertical {
        width: 12px;
    }

    ::-webkit-scrollbar:horizontal {
        height: 12px;
    }

    ::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, .5);
        border-radius: 10px;
        border: 2px solid #ffffff;
    }

    ::-webkit-scrollbar-track {
        border-radius: 10px;
        background-color: #ffffff;
    }
}

/********************
iPhone 6 Landscape
********************/
@media only screen and (min-device-width : 375px) and (max-device-width : 667px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) 
{ 
    .bg-grid{
        padding:10px 20px !important;
    }

    .btn-loadMore-large {
        border-radius: 0px;
        width: 370px;
        font-size: 15px;
        font-weight: 500;
    }

    .bg-grid li.BG-Product-Grid-Item {
        height: 150px;
        margin: 20px 20px;
    }

    .bg-grid li.BG-Product-Grid-Item > a,
    .bg-grid li.BG-Product-Grid-Item > a img {
        width: 150px;
        height: 150px;
    }

    .btn-filter {
        font-size: 11.5px;
    }

    .outter-filters {
        margin: 0;
    }

    .outter-title {
        margin: 15px 0 0;
    }

    ::-webkit-scrollbar {
        -webkit-appearance: none;
    }

    ::-webkit-scrollbar:vertical {
        width: 12px;
    }

    ::-webkit-scrollbar:horizontal {
        height: 12px;
    }

    ::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, .5);
        border-radius: 10px;
        border: 2px solid #ffffff;
    }

    ::-webkit-scrollbar-track {
        border-radius: 10px;
        background-color: #ffffff;
    }
}

/********************
iPhone 6 Portrait
********************/
@media only screen and (min-width: 374px) and (max-width: 413px) {
    .btn-loadMore-large {
        border-radius: 0px;
        width: 330px;
        font-size: 13px;
        font-weight: 500;
    }

    .bg-grid {
        justify-content: center !important;
    }

    .bg-grid li.BG-Product-Grid-Item {
        height: 125px;
        margin: 20px 20px;
     }

    .bg-grid li.BG-Product-Grid-Item > a,
    .bg-grid li.BG-Product-Grid-Item > a img {
        width: 125px;
        height: 125px;
    }

    .btn-filter {
        font-size: 11.5px;
    }

    .outter-filters {
        margin: 0;
    }

    .outter-title {
        margin: 15px 0 0;
    }

    ::-webkit-scrollbar {
        -webkit-appearance: none;
    }

    ::-webkit-scrollbar:vertical {
        width: 12px;
    }

    ::-webkit-scrollbar:horizontal {
        height: 12px;
    }

    ::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, .5);
        border-radius: 10px;
        border: 2px solid #ffffff;
    }

    ::-webkit-scrollbar-track {
        border-radius: 10px;
        background-color: #ffffff;
    }
}


/*****
iPhone 6 plus landscape
*****/
@media only screen and (min-device-width : 414px) and (max-device-width : 736px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 3) { 
    .btn-loadMore-large {
        border-radius: 0px;
        width: 370px;
        font-size: 15px;
        font-weight: 500;
    }

    .bg-grid li.BG-Product-Grid-Item {
        height: 170px;
        margin: 20px 20px;
    }

    .bg-grid li.BG-Product-Grid-Item > a,
    .bg-grid li.BG-Product-Grid-Item > a img {
        width: 170px;
        height: 170px;
        padding:10px;
    }

    .btn-filter {
        font-size: 11.5px;
    }

    .outter-filters {
        margin: 0;
    }

    .outter-title {
        margin: 15px 0 0;
    }

    ::-webkit-scrollbar {
        -webkit-appearance: none;
    }

    ::-webkit-scrollbar:vertical {
        width: 12px;
    }

    ::-webkit-scrollbar:horizontal {
        height: 12px;
    }

    ::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, .5);
        border-radius: 10px;
        border: 2px solid #ffffff;
    }

    ::-webkit-scrollbar-track {
        border-radius: 10px;
        background-color: #ffffff;
    }
}

/*****
iPhone 6 plus Portrait
*****/
@media only screen and (min-width: 413px) and (max-width: 415px) {
    .btn-loadMore-large {
        border-radius: 0px;
        width: 370px;
        font-size: 15px;
        font-weight: 500;
    }

    .bg-grid li.BG-Product-Grid-Item {
        height: 145px;
        margin: 20px 20px;
    }

    .bg-grid li.BG-Product-Grid-Item > a,
    .bg-grid li.BG-Product-Grid-Item > a img {
        width: 145px;
        height: 145px;
    }

    .btn-filter {
        font-size: 11.5px;
    }

    .outter-filters {
        margin: 0;
    }

    .outter-title {
        margin: 15px 0 0;
    }

    ::-webkit-scrollbar {
        -webkit-appearance: none;
    }

    ::-webkit-scrollbar:vertical {
        width: 12px;
    }

    ::-webkit-scrollbar:horizontal {
        height: 12px;
    }

    ::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, .5);
        border-radius: 10px;
        border: 2px solid #ffffff;
    }

    ::-webkit-scrollbar-track {
        border-radius: 10px;
        background-color: #ffffff;
    }
}


/********************
iPad landscape
********************/
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) { 
    .btn-loadMore-large {
        border-radius: 0px;
        width: 370px;
        font-size: 15px;
        font-weight: 500;
    }

    .bg-grid li.BG-Product-Grid-Item {
        margin: 20px 35px 20px 20px;
    }

    .btn-filter {
        font-size: 15px;
    }

    .outter-filters {
        margin: 0px 42px 0 22px;
    }

    .outter-title {
        margin: 15px 40px 0px 22px !important;
    }

    ::-webkit-scrollbar {
        -webkit-appearance: none;
    }

    ::-webkit-scrollbar:vertical {
        width: 12px;
    }

    ::-webkit-scrollbar:horizontal {
        height: 12px;
    }

    ::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, .5);
        border-radius: 10px;
        border: 2px solid #ffffff;
    }

    ::-webkit-scrollbar-track {
        border-radius: 10px;
        background-color: #ffffff;
    }
}

@media only screen and (max-width: 820px) {
    .bg-grid {
        /*justify-content: center !important;*/
        flex-wrap: wrap !important;
    }
}

/********************
iPad Portrait
********************/
@media only screen and (min-width: 415px) and (max-width: 768px) {
    .btn-loadMore-large {
        border-radius: 0px;
        width: 370px;
        font-size: 15px;
        font-weight: 500;
    }

    .bg-grid li.BG-Product-Grid-Item {
        margin: 5px;
    }

    .btn-filter {
        font-size: 15px;
    }

    .outter-filters {
        margin: 0px 42px 0 22px;
    }

    .outter-title {
        margin: 15px 40px 0px 22px;
    }

    ::-webkit-scrollbar {
        -webkit-appearance: none;
    }

    ::-webkit-scrollbar:vertical {
        width: 12px;
    }

    ::-webkit-scrollbar:horizontal {
        height: 12px;
    }

    ::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, .5);
        border-radius: 10px;
        border: 2px solid #ffffff;
    }

    ::-webkit-scrollbar-track {
        border-radius: 10px;
        background-color: #ffffff;
    }
}

/*****
PC - fixes floating issue with expanded items overlaping the expended box.
*****/
@media only screen and (min-width: 769px) {
    .bg-grid li.BG-Product-Grid-Item {
        margin: 20px;
    }

    .btn-loadMore-large {
        border-radius: 0px;
        width: 370px;
        font-size: 15px;
        font-weight: 500;
    }
}
/************************
AN-BG flex last items start from left.
*************************/
@media only screen and (min-width: 1200px) and (max-width:1399px) {
    .bg-grid li.BG-Product-Grid-Item {
        margin: 32px !important;
    }

    .bg-grid {
        justify-content: start !important;
    }
}

@media only screen and (min-width: 1400px){
    .bg-grid li.BG-Product-Grid-Item {
        margin: 23px !important;
    }

    .bg-grid {
        justify-content: start !important;
    }

}
/******************
Sticky back to top
*******************/
#to-top {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 10px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: red;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
    letter-spacing: 2px;
}

/*******************************
Product information expends.
*******************************/
.ListingName {
    font-size: 28px !important;
    font-family: 'Archivo Narrow' !important;
    font-weight: 400 !important;
    line-height: 28px !important;
    padding-bottom: 0px !important;
    color: black !important;
    margin: 0 !important;
}

.ListingAddress {
    line-height: 17px;
    padding: 10px 0 0 0;
    font-size: 14px;
}

.ListingCompany {
    font-weight: 600;
    font-size: 18px !important;
    line-height: 22px !important;
}


.CompanyInfo {
	font-size: 14px;
	line-height:17px;
	margin-bottom:15px;
}

/******************
Load more button
*******************/
.btn-loadMore {
    color: #fff;
    background-color: #bb0000;
    border-color: #ac2925;
}
.btn-loadMore:hover, .btn-loadMore:focus {
    color: #fff;
    background-color: #c9302c;
    border-color: #d43f3a;
}
