﻿#price-tag {
    width: 20px;
    height: 20px;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 101; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
}

.modal-table-row {
    border: solid 1px #C7C7C7;
}

    .modal-table-row td {
        text-align: left;
        padding-left: 10px;
    }

.modal-related-prices-content {
    background-color: #fefefe;
    margin: 10% auto; /* 10% from the top and centered */
    padding: 20px;
    box-shadow: 0px 0px 13px 4px rgba(0,0,0,0.1);
    width: 70%; /* Could be more or less, depending on screen size */
}

#selected-related-price {
    color: black;
    font-weight: bold;
}

.close-modal {
    color: rgb(0,0,0);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

#modal-related-prices-table, tr, td {
    color: black;
    font-size: 13px;
    border: 1px solid #C7C7C7;
    border-collapse: collapse;
}

.modal-thumbnail {
    max-width: 75px;
    max-height: 75px;
    object-fit: contain;
    object-position: center;
    margin-right: 50px;
}

#modal-code, #modal-name {
    font-family: "Century Gothic", Arial !important;
    color: #7C7C7C;
}

#modal-heading {
    display: flex;
    text-align: left;
    overflow: hidden;
    padding: 10px 0;
}


.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

div.row.products-header {
    display: block;
    margin: 0 auto;
    text-align: center;
    padding: .2vh 0;
    border-bottom: 1px solid rgba(61,66,76,.4);
}

.products-header_title {
    float: left;
    width: 25%;
    text-align: left;
}

.search-cont {
    float: left;
    width: 75%;
    text-align: center;
}

.products-header_input {
    float: left;
    width: 28%;
    /*padding-right: 10px;*/
    margin-right: 2.5%;
}

.products-header_submit {
    float: left;
    /*width: 16%;*/
    /*padding-right: 10px;*/
}

    .products-header_submit .button-large {
        /*font-size: 10px;*/
        margin: 0px;
        height: 3.6vh;
        width: 3.6vh;
        padding: 0;
        /*padding: 9px 25px 8px;*/
        /*margin: 0px !important;*/
    }

h1 {
    line-height: 21px;
}



input[type=text], select {
    margin-right: 0px;
    height: 30px;
    background-color: transparent;
    border: 1px solid #8B8B8B;
    padding: 0 15px;
    color: #7C7C7C;
    font-size: 13px;
    font-family: 'Open Sans', arial;
}

h3 {
    line-height: 46px;
    margin-bottom: 0px;
}

select, #txb-searchTerm {
    width: 100%;
    height: 3.6vh;
}

.filter-trigger {
    display: none;
}

/*Articles*/
.article a.product-cont {
    display: block;
    /*border: 1px solid rgba(154, 157, 162, 1);*/
    border-radius: 7px;
    padding: 1px;
}

.article .article-cont {
    position: relative;
}

.article:hover {
    /*outline: 1px solid rgba(154, 157, 162, 1);
        outline-offset: 3px;*/
    box-shadow: 0px 0px 13px 4px rgba(0,0,0,0.1);
    cursor: pointer;
}

.article .info #modal-heading {
    text-align: center;
    overflow: hidden;
    padding: 10px 0;
}

/*Overlay*/

.article .overlay {
    opacity: 0;
}

.article:hover .overlay {
    opacity: 1 !important;
}

.article p.link {
    display: block;
    position: absolute;
    top: 45%;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 2;
}

    .article p.link span {
        background: grey;
        padding: 8px 20px;
        font-size: 14px;
        color: #fff;
    }

.blog.style-1 .article h5 {
    color: #7C7C7C;
    font-size: 11px;
    line-height: 15px;
}

.blog.style-1 .article .cat {
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 19px;
}

.article i {
    font-size: 15px;
    background: #fff;
    padding: 6px;
    border-radius: 100%;
    /*border: 1px solid rgba(61,66,76,.2);*/
}

.blog .filters a {
    float: none;
}

.col-ranges {
    padding: 0px 15px !important;
}

    .col-ranges, .col-ranges .col, .col-search, .col-search .col {
        padding: 0px;
    }


.blog.style-1 .article .add-quote {
    position: absolute;
    top: 10px;
    z-index: 99;
    right: 15px;
    margin: 0;
    -webkit-transition: all 200ms ease-in;
    -webkit-transform: scale(1);
    -ms-transition: all 200ms ease-in;
    -ms-transform: scale(1);
    -moz-transition: all 200ms ease-in;
    -moz-transform: scale(1);
    transition: all 200ms ease-in;
    transform: scale(1);
}

.blog.style-1 .article .add-quote:hover {
    -webkit-transition: all 200ms ease-in;
    -webkit-transform: scale(1.5);
    -ms-transition: all 200ms ease-in;
    -ms-transform: scale(1.5);
    -moz-transition: all 200ms ease-in;
    -moz-transform: scale(1.5);
    transition: all 200ms ease-in;
    transform: scale(1.5);
}

.display-related-prices {
    position: absolute;
    top: 10px;
    z-index: 100;
    left: 15px;
    margin: 0;
    -webkit-transition: all 200ms ease-in;
    -webkit-transform: scale(1);
    -ms-transition: all 200ms ease-in;
    -ms-transform: scale(1);
    -moz-transition: all 200ms ease-in;
    -moz-transform: scale(1);
    transition: all 200ms ease-in;
    transform: scale(1);
}
.display-related-prices:hover {
    -webkit-transition: all 200ms ease-in;
    -webkit-transform: scale(1.5);
    -ms-transition: all 200ms ease-in;
    -ms-transform: scale(1.5);
    -moz-transition: all 200ms ease-in;
    -moz-transform: scale(1.5);
    transition: all 200ms ease-in;
    transform: scale(1.5);
}

/* TRANSITIONS */

.article .article-cont:hover,
.article .article-cont,
.article .article-cont .info p.cat,
.article .article-cont .info p.link,
.article .article-cont:hover .info p.cat,
.article .article-cont:hover .info p.link {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}


@media only screen and (max-width : 1100px) {
    .products-header_title {
        width: 60%;
    }

    p.filter-trigger {
        display: block;
        float: right;
        width: 40%;
        clear: right;
    }

    .filter-block {
        width: 100%;
    }

    .search-cont {
        float: none;
        margin: 0 auto;
    }

    .search-cont, .products-header_categories {
        clear: left;
    }
}

@media only screen and (max-width : 768px) {

    div.row.products-header {
        padding: 0 30px;
    }

    .products-header_input, .products-header_submit {
        float: none;
        width: 100%;
        margin-bottom: 15px;
        padding-right: 0;
    }

    .products-header_submit {
        text-align: left;
    }

    .blog.style-1 .article .cat {
        font-size: 10px;
        line-height: 19px;
    }

    p.filter-trigger {
        text-align: left;
        font-size: 12px;
        padding: 4px 10px;
    }
}

@media only screen and (max-width : 480px) {
    .products-header_input, .products-header_submit {
        float: none;
        width: 100%;
    }

    .products-header_title h1 {
        font-size: 22px;
    }

    p.filter-trigger {
        font-size: 10px;
        padding: 3px 10px;
    }

        p.filter-trigger:before {
            font-size: 15px;
        }
}

/*========== X - S M A L L     S C R E E N =============*/

@media only screen and (max-width : 370px) {

    .products-header_title h1 {
        font-size: 18px;
    }

    p.filter-trigger {
        font-size: 8px;
        padding: 2px 8px;
    }
}

/*============ Listing floats =============*/

@media only screen and (min-width : 1750px) {
    .articles .article:nth-child(6n+1) {
        clear: left;
    }

    .blog .articles.cols-4 .article {
        width: 16%;
    }
}

@media only screen and (max-width : 1750px) and (min-width : 1442px) {
    .articles .article:nth-child(5n+1) {
        clear: left;
    }

    .blog .articles.cols-4 .article {
        width: 20%;
    }
}

@media only screen and (max-width : 1441px) and (min-width : 1100px) {
    .articles .article:nth-child(4n+1) {
        clear: left;
    }
}

@media only screen and (max-width : 1099px) and (min-width : 787px) {

    .articles .article:nth-child(3n+1) {
        clear: left;
    }
}

@media only screen and (max-width : 768px) and (min-width : 479px) {

    .articles .article:nth-child(3n+1) {
        clear: left;
    }
}

@media only screen and (max-width : 480px) {

    .articles .article:nth-child(2n+1) {
        clear: left;
    }
}
