/*@import url('https://fonts.googleapis.com/css?family=Open+Sans');
@import url('https://fonts.googleapis.com/css?family=Montserrat');*/
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700');

body {
    /*font-family: 'Montserrat', sans-serif;*/
    font-family: 'Roboto', sans-serif;
}

.warning {
    color: red;
    font-weight: bold;
}

.goodnews {
    color: green;
    font-weight: bold;
}


.commentSpan {
    color: hotpink;
    font-weight: bold;
}


#sourceRadioGroup div, #sourceRadioGroup input[type="radio"] {
    margin-left: 30px;
}



.photo-thumb{
    /*width:214px; */
    width:300px;
    height:214px;
    float:left;
    border: thin solid #d1d1d1;
    margin:0 1em 1em 0;
}

div#blueimp-gallery div.modal {
    overflow: visible;
}

.media img {
    float: left;
}



/*----------NEWS VIEW STYLING --------*/

/* Style the news feed view */
#recordArticle {
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    border: 2px dashed green;
}



/* Style the single news item view*/
#singleRecordArticle {
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
}






/*----- COMMERCIAL ADS RIBBONS -----*/

/*#sponsoredRibbon {
    position: relative;
    width: 100%;
    font-size: 1.5em;
    font-weight: bold;
    padding: 6px 20px 6px 40px; /*6px 20px 6px 70px*/
/*    margin: 30px 10px 10px -70px;
    color: #555;
    /*background-color: #999;*/
/*    background-color: #CC0033;
    text-shadow: 0px 1px 2px #bbb;
    -webkit-box-shadow: 0px 2px 4px #888;
    -moz-box-shadow: 0px 2px 4px #888;
    box-shadow: 0px 2px 4px #888;
}


#sponsoredRibbon:after {
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: 10px; /*0px*/
/*  top: 100%;
  border-width: 5px 10px;
  border-style: solid;
  border-color: #666 #666 transparent transparent;
}


#sponsoredRibbon:before
{
    content: ' ';
    position: absolute;
    width: 40px; /*30px*/ /*This controls the left zig-zag flap*/
/*    height: 0;
    left: -10px; /*-30px*/ /*This controls the left curve-in-whether it starts from the page's left wall or if it leaves a margin*/
/*    top: 12px;
    border-width: 20px 10px;
    border-style: solid;
    /*border-color: #999 #999 #999 transparent;*/
/*    border-color: #CC0033 #CC0033 #CC0033 transparent;
}*/


/*----------------------TESTING-----------------------------*/

/*#ribbon, #ribbon2 {
    position: relative;
    width: 100%;
    font-size: 1.5em;
    font-weight: bold;
    padding: 6px 20px 6px 40px;
    margin: 30px 0px 10px 0px;
    color: #555;
    background-color: #CC0033 !important;
    text-shadow: 0px 1px 2px #bbb;
    -webkit-box-shadow: 0px 2px 4px #888;
    -moz-box-shadow: 0px 2px 4px #888;
    box-shadow: 0px 2px 4px #888;
}*/

/*------------------FURTHER TESTING---------------------*/
/*
    Adjust the width, height & skew angles to achieve the desired appearance
*/
.ribbonTop1,
.ribbonTop2 {
    position: relative;
    width: 100%;
    font-size: 1.5em;
    font-weight: bold;
    padding: 6px 20px 6px 40px;
    margin: 30px 0px 10px 0px;
    color: #fff;
    background-color: #CC0033 !important;
    text-shadow: 0px 1px 2px #bbb;
    -webkit-box-shadow: 0px 2px 4px #888;
    -moz-box-shadow: 0px 2px 4px #888;
    box-shadow: 0px 2px 4px #888;
    z-index: 1; 
}

.ribbonTop1::before,
.ribbonTop1::after {
    content: "";
    position:absolute;
    top: 0;
    width: 100%;
    height: 100%;
    border-style: solid;
    /* adjust this border size to control the ribbon shape */
}

.ribbonTop1::before {
    height: 3.7em;
    left: -50px;
    top: -25px;
    border-width: 25px 0 0 50px;/* adjust the numbers to control the shape of the zig-zag effect */
    border-color: transparent #fff transparent #19A5D4; /* match this with the bg color of the ribbon div */
    width: 5%; /* make it thin so its pushed to the left edge */
}

.ribbonTop1::after {
    height: 3.7em;
    right: -50px; 
    top: -25px;
    border-width: 25px 50px 0 0;/* adjust the numbers to control the shape of the zig-zag effect */
    border-color: transparent #19A5D4 transparent transparent; /* match this with the bg color of the ribbon div */
}

/* Here's a technique whereby a sibling div to the .ribbonTop1 div (.ribbonTop1::before) is used as the background of the ribbon flaps */
.ribbon-top1-background {
    position: absolute;
    background-color: #000; 
    height: 2em;
    /*//////width: 111%; /* make it reach far off the screen on the right so as to act as the background for the right ribbon's flap */
    width: 107%; /* make it reach far off the screen on the right so as to act as the background for the right ribbon flap */
    /*//////left: -48px; /* make it close to the 'left' property of .ribbonTop1::before so it can pass for its bg */
    left: -31px; /* make it close to the 'left' property of .ribbonTop1::before so it can pass for its bg */
    /* right: -10px; */
    /*top: 6px;*/ /* ///// this worked before when position was relative */
    top: 42px;
    z-index: -1;
}

/*.ribbon-top1-background-on-category {
    position: absolute;
    background-color: #000; 
    height: 2em;
    width: 108%; /* make it reach far off the screen on the right so as to act as the background for the right ribbon flap */
    /*left: -31px; /* make it close to the 'left' property of .ribbonTop1::before so it can pass for its bg */
    /*top: 15px;
    z-index: -1;
}*/




/* ############ ribbonBottom1 styling ############### */

.ribbonBottom1,
.ribbonBottom2 {
    position: relative;
    width: 100%;
    font-size: 1.5em;
    font-weight: bold;
    padding: 6px 20px 6px 40px;
    margin: 30px 0px 10px 0px;
    color: #fff;
    background-color: #CC0033 !important;
    text-shadow: 0px 1px 2px #bbb;
    -webkit-box-shadow: 0px 2px 4px #888;
    -moz-box-shadow: 0px 2px 4px #888;
    box-shadow: 0px 2px 4px #888;
    z-index: 1; 
}

.ribbonBottom1::before,
.ribbonBottom1::after {
    content: "";
    position:absolute;
    top: 0;
    width: 100%;
    height: 100%;
    border-style: solid;
    /* adjust this border size to control the ribbon shape */
}

.ribbonBottom1::before {
    height: 3em;
    left: -50px;
    top: -25px;
    border-width: 25px 0 0 50px;/* adjust the numbers to control the shape of the zig-zag effect */
    border-color: transparent #fff transparent #19A5D4; /* match this with the bg color of the ribbon div */
    width: 5%; /* make it thin so its pushed to the left edge */
}

.ribbonBottom1::after { /* CHECK HERE FOR THE RIGHT RIBBON */
    height: 1em;
    right: -50px;
    top: -25px;/*was -25*/
    width: 2em;
    /*background-color: #CC0033;*/
    border-width: 25px 50px 2em 0;/* 25 50 0 0adjust the numbers to control the shape of the zig-zag effect */
    border-color: transparent #19A5D4 #19A5D4 #CC0033; /* match this with the bg color of the ribbon div */

    /*height: 3.7em;
    right: -50px; 
    top: -25px; */

    /*border-width: 25px 50px 0 0;/* adjust the numbers to control the shape of the zig-zag effect */
    /*border-color: transparent #19A5D4 transparent transparent; /* match this with the bg color of the ribbon div */
}

/* Here's a technique whereby a sibling div to the .ribbonBottom1 div (.ribbonBottom1::before) is used as the background of the ribbon's flap */
.ribbon-bottom1-background { 
    position: absolute;
    background-color: #000;
    height: 2em;
    /*//////width: 111%; /* make it reach far off the screen on the right so as to act as the background for the right ribbon's flap */
    width: 107%; /* make it reach far off the screen on the right so as to act as the background for the right ribbon flap */
    /*//////left: -48px; /* make it close to the 'left' property of .ribbonTop1::before so it can pass for its bg */
    left: -31px; /* make it close to the 'left' property of .ribbonTop1::before so it can pass for its bg */
    /* right: -10px; */
    /*top: 6px;*/ /* ///// this worked before when position was relative */
    top: 7px;
    z-index: -1;
}
/*------------------END FURTHER TESTING-----------------*/
/*------------------END TESTING-----------------------------*/




/*THE NEXT RIBBON BELOW-'END OF SPONSORED ADS'*/

#sponsoredRibbon2 {
    position: relative;
    width: 100%;
    font-size: 1.5em;
    font-weight: bold;
    padding: 6px 20px 6px 40px; /*6px 20px 6px 70px*/
    margin: 30px 10px 10px -70px;
    color: #555;
    /*background-color: #999;*/
    background-color: #CC0033;
    text-shadow: 0px 1px 2px #bbb;
    -webkit-box-shadow: 0px 2px 4px #888;
    -moz-box-shadow: 0px 2px 4px #888;
    box-shadow: 0px 2px 4px #888;
}




#sponsoredRibbon2:after {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: 10px; /*0px*/
    top: 100%;
    border-width: 5px 10px;
    border-style: solid;
    border-color: #666 #666 transparent transparent;
}


#sponsoredRibbon2:before
{
    content: ' ';
    position: absolute;
    width: 40px; /*30px*/ /*This controls the left zig-zag flap*/
    height: 0;
    left: -10px; /*-30px*/ /*This controls the left curve-in-whether it starts from the page's left wall or if it leaves a margin*/
    top: 12px;
    border-width: 20px 10px;
    border-style: solid;
    /*border-color: #999 #999 #999 transparent;*/
    border-color: #CC0033 #CC0033 #CC0033 transparent;
}

.chargeableTable thead th {
    text-align: center;
}




/* Catalog ad cards */

/*#ads {
    margin: 30px 0 30px 0;

}

#ads .card-notify-badge {
    position: absolute;
    left: -1px;
    top: -10px;
    background: #f2d900;
    text-align: center;
    border-radius: 30px 30px 30px 30px;
    color: #000;
    padding: 5px 10px;
    font-size: 14px;

}

#ads .card-notify-year {
    position: absolute;
    right: -1px;
    top: -10px;
    background: #ff4444;
    border-radius: 50%;
    text-align: center;
    color: #fff;
    font-size: 14px;
    width: 50px;
    height: 50px;
    padding: 10px 0 0 0;
}


#ads .card-detail-badge {
    background: #f2d900;
    text-align: center;
    border-radius: 30px 30px 30px 30px;
    color: #000;
    padding: 5px 10px;
    font-size: 14px;
}



#ads .card:hover {
    background: #fff;
    box-shadow: 12px 15px 20px 0px rgba(46,61,73,0.15);
    border-radius: 4px;
    transition: all 0.3s ease;
}

#ads .card-image-overlay {
    font-size: 20px;

}


#ads .card-image-overlay span {
    display: inline-block;
}


#ads .ad-btn {
    text-transform: uppercase;
    width: 150px;
    height: 40px;
    border-radius: 80px;
    font-size: 16px;
    line-height: 35px;
    text-align: center;
    border: 3px solid #e6de08;
    display: block;
    text-decoration: none;
    margin: 20px auto 1px auto;
    color: #000;
    overflow: hidden;
    position: relative;
    background-color: #e6de08;
}

#ads .ad-btn:hover {
    background-color: #e6de08;
    color: #1e1717;
    border: 2px solid #e6de08;
    background: transparent;
    transition: all 0.3s ease;
    box-shadow: 12px 15px 20px 0px rgba(46,61,73,0.15);
}

#ads .ad-title h5 {
    text-transform: uppercase;
    font-size: 18px;
}*/


/* CATALOG cards2 */
.shape {
    border-style: solid; border-width: 0 70px 40px 0; float:right; height: 0px; width: 0px;
    -ms-transform:rotate(360deg); /* IE 9 */
    -o-transform: rotate(360deg);  /* Opera 10.5 */
    -webkit-transform:rotate(360deg); /* Safari and Chrome */
    transform:rotate(360deg);
    padding: 2px;
}

.shape-text {
    color:#fff; font-size:12px; font-weight:bold; position:relative; right:-40px; top:2px; white-space: nowrap;
    -ms-transform:rotate(30deg); /* IE 9 */
    -o-transform: rotate(360deg);  /* Opera 10.5 */
    -webkit-transform:rotate(30deg); /* Safari and Chrome */
    transform:rotate(30deg);
    width: 28px;
    right: -38px;
    top: -7px;
}

.project {
    min-height:300px;
    height:auto;
}

.project{
    background:#fff; border:1px solid #ddd; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); margin: 15px 0; overflow:hidden;
}

.project-radius{
    border-radius:7px;
}

.project-default {    border-color: #999999; }
.project-default .shape{
    border-color: transparent #999999 transparent transparent;
    border-color: rgba(255,255,255,0) #999999 rgba(255,255,255,0) rgba(255,255,255,0);
}

.project-danger {    border-color: #d9534f; }
.project-danger .shape{
    border-color: transparent #d9534f transparent transparent;
    border-color: rgba(255,255,255,0) #d9534f rgba(255,255,255,0) rgba(255,255,255,0);
}

.project-success {	border-color: #5cb85c; }
.project-success .shape{
    border-color: transparent #5cb85c transparent transparent;
    border-color: rgba(255,255,255,0) #5cb85c rgba(255,255,255,0) rgba(255,255,255,0);
}

.project-primary {	border-color: #428bca; }
.project-primary .shape{
    border-color: transparent #428bca transparent transparent;
    border-color: rgba(255,255,255,0) #428bca rgba(255,255,255,0) rgba(255,255,255,0);
}

.project-info {	border-color: #5bc0de; }
.project-info .shape{
    border-color: transparent #5bc0de transparent transparent;
    border-color: rgba(255,255,255,0) #5bc0de rgba(255,255,255,0) rgba(255,255,255,0);
}

.project-warning {	border-color: #f0ad4e; }
.project-warning .shape{
    border-color: transparent #f0ad4e transparent transparent;
    border-color: rgba(255,255,255,0) #f0ad4e rgba(255,255,255,0) rgba(255,255,255,0);
}

.project-content {
    padding:0 20px 10px;
}


/* Cards hover effect */
.project:hover {
    background: #fff;
    box-shadow: 12px 15px 20px 0px rgba(46,61,73,0.15);
    border-radius: 4px;
    transition: all 0.3s ease;
}


/* CATALOG VIEW BUTTON */
.ad-btn {
    text-transform: uppercase;
    width: 100px;
    height: 40px;
    border-radius: 80px;
    font-size: 16px;
    line-height: 35px;
    text-align: center;
    border: 3px solid #19A5D4;
    display: block;
    text-decoration: none;
    margin: 20px auto 1px auto;
    color: #000;
    overflow: hidden;
    position: relative;
    background-color: #19A5D4;
}

.ad-btn:hover {
    background-color: #19A5D4;
    color: #1e1717;
    border: 2px solid #19A5D4;
    background: transparent;
    transition: all 0.3s ease;
    box-shadow: 12px 15px 20px 0px rgba(46,61,73,0.15);
}

.card-notify-badge {
    position: absolute;
    left: -1px;
    top: -10px;
    background: #f2d900;
    text-align: center;
    border-radius: 30px 30px 30px 30px;
    color: #000;
    padding: 5px 10px;
    font-size: 14px;

}

/* THE FOLLOWING TWO BLOCKS WILL HANDLE NASTY TEXT OVERLAPPING THAT BREAKS OUR LAYOUT SCAFFOLDING & WRAP THEM UP */
div h1, h2, h3, h4, h5, h6, p {
    /* These are technically the same, but use both */
    overflow-wrap: break-word;
    word-wrap: break-word;

    -ms-word-break: break-all;
    word-break: break-word;

    /* Adds a hyphen where the word breaks, if supported (No Blink) */
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

section h1, h2, h3, h4, h5, h6, p {
    /* These are technically the same, but use both */
    overflow-wrap: break-word;
    word-wrap: break-word;

    -ms-word-break: break-all;
    word-break: break-word;

    /* Adds a hyphen where the word breaks, if supported (No Blink) */
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.categoryThumbnail p, h3, ul {
    margin: 4px;
    padding: 0;
}

.categoryThumbnail .categoryItemImg {
    max-width: 500px;
    max-height: 300px;
    min-width: 500px;
    min-height: 300px;
}

.categoryThumbnail .categoryShopImgThumb {
    max-width: 25px;
    max-height: 25px;
}


.categoryThumbnail .itemTitle, .itemDescription {
    width: 100%;
}


.categoryThumbnail {
    list-style-type: none;
    background: #fff;
    margin: 20px auto;
    padding: 10px 20px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    display:flex;
    align-items: center;
    justify-content: space-between;
}


/* MAKE THE IMAGE OF AN ITEM ON THE CATEGORY PAGE SHRINK GRACEFULLY AS THE VIEWPORT GETS SMALLER */
@media only screen and (max-width: 767px) {

    .categoryThumbnail .categoryItemImg {
        max-width: 150px;
        max-height: 100px;
        min-width: 150px;
        min-height: 100px;
    }

    .categoryThumbnail .categoryShopImgThumb {
        max-width: 25px;
        max-height: 25px;
    }

    .categoryThumbnail .itemTitle, .itemDescription {
        width: 100%;
    }
}


/*----------SEARCH VIEW STYLING --------------------*/
a {
    color: #03a1d1;
    text-decoration: none!important;
}

/**** LAYOUT ****/
.list-inline>li {
    padding: 0 10px 0 0;
}
.container-pad {
    padding: 30px 15px;
}


/**** MODULE ****/
.bgc-fff {
    background-color: #fff!important;
}
.box-shad {
    -webkit-box-shadow: 1px 1px 0 rgba(0,0,0,.2);
    box-shadow: 1px 1px 0 rgba(0,0,0,.2);
}
.brdr {
    border: 1px solid #ededed;
}

/* Font changes */
.fnt-smaller {
    font-size: .9em;
}
.fnt-lighter {
    color: #bbb;
}

/* Padding - Margins */
.pad-10 {
    padding: 10px!important;
}
.pad-5 {
    padding: 5px!important;
}
.mrg-0 {
    margin: 0!important;
}
.btm-mrg-0 {
    margin-bottom: 0px!important;
}
.btm-mrg-5 {
    margin-bottom: 5px!important;
}
.btm-mrg-10 {
    margin-bottom: 10px!important;
}
.btm-mrg-20 {
    margin-bottom: 20px!important;
}

/* Color  */
.clr-535353 {
    color: #535353;
}
/*----------END OF SEARCH VIEW STYLING -----------*/


/*------------- CATEGORY.PHP RELATED CATS -------*/
.col-center {
    margin: 0 auto;
    float: none !important;
}
.carousel {
    margin: 30px auto 60px;
    padding: 0 80px;
}
.carousel .item {
    text-align: center;
    overflow: hidden;
}
.carousel .item h4 {
    font-family: 'Varela Round', sans-serif;
}
.carousel .item img {
    max-width: 100%;
    display: inline-block;
}
.carousel .item .btn {
    border-radius: 0;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
    border: none;
    background: #a177ff;
    padding: 6px 15px;
    margin-top: 5px;
}
.carousel .item .btn:hover {
    background: #8c5bff;
}
.carousel .item .btn i {
    font-size: 14px;
    font-weight: bold;
    margin-left: 5px;
}
.carousel .thumb-wrapper {
    margin: 5px;
    text-align: left;
    background: #fff;
    box-shadow: 0px 2px 2px rgba(0,0,0,0.1);
}
.carousel .thumb-content {
    padding: 15px;
    font-size: 13px;
}
.carousel .carousel-control {
    /*---I JUST CHANGED width & height from 44 to 54 ----*/
    height: 54px;
    width: 54px;
    background: none;
    margin: auto 0;
    border-radius: 50%;
    border: 3px solid rgba(0, 0, 0, 0.8);
}
.carousel .carousel-control i {
    font-size: 36px;
    position: absolute;
    top: 50%;
    display: inline-block;
    margin: -19px 0 0 0;
    z-index: 5;
    left: 0;
    right: 0;
    color: rgba(0, 0, 0, 0.8);
    text-shadow: none;
    font-weight: bold;
}
.carousel .carousel-control.left i {
    margin-left: -3px;
}
.carousel .carousel-control.right i {
    margin-right: -3px;
}
.carousel .carousel-indicators {
    bottom: -50px;
}
.carousel-indicators li, .carousel-indicators li.active {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 4px;
    border-color: transparent;
}
.carousel-indicators li {
    background: #ababab;
}
.carousel-indicators li.active {
    background: #555;
}

.carousel-inner .img-box {
    object-fit: cover;
    overflow:hidden;
    max-height: 500px;
}

.carousel-inner .img-box img {
    width: auto;
    height: auto;
}
/*----------END OF RELATED CATS STYLING ----------*/


.locationH1 {
    text-align: center !important;
    color: #03a1d1 !important;
}

.hidden {
    display: none;
}



/*################################################# 

                    MEDIA QUERIES

##################################################*/
/*
min-width: 1200px---
min-width: 992px ---
max-width: 991px
max-width: 770px
max-width: 767px ---
max-width: 549px
max-width: 482px
*/

@media only screen and (max-width: 489px) {
    .ribbon-top1-background-on-category {
        position: absolute;
        background-color: #000; 
        height: 2em;
        width: 120%; /* make it reach far off the screen on the right so as to act as the background for the right ribbon flap */
        left: -30px; /* make it close to the 'left' property of .ribbonTop1::before so it can pass for its bg */
        top: -23px;
        z-index: -1;
    }
    .ribbon-bottom1-background-on-category {
        position: absolute;
        background-color: #000; 
        height: 2em;
        width: 117%; /* make it reach far off the screen on the right so as to act as the background for the right ribbon flap */
        left: -33px; /* make it close to the 'left' property of .ribbonTop1::before so it can pass for its bg. 
                 The lower the number, the more it moves to the left */
        top: -24px !important;
        z-index: -1;
    }
}
@media only screen and (min-width: 490px) {
    .ribbon-top1-background-on-category {
        position: absolute;
        background-color: #000; 
        height: 2em;
        width: 115%; /* make it reach far off the screen on the right so as to act as the background for the right ribbon flap */
        left: -31px; /* make it close to the 'left' property of .ribbonTop1::before so it can pass for its bg */
        top: -24px;
        z-index: -1;
    }
    .ribbon-bottom1-background-on-category {
        position: absolute;
        background-color: #000; 
        height: 2em;
        width: 116%; /* make it reach far off the screen on the right so as to act as the background for the right ribbon flap */
        left: -33px; /* make it close to the 'left' property of .ribbonTop1::before so it can pass for its bg. 
                 The lower the number, the more it moves to the left */
        top: -24px !important;
        z-index: -1;
    }
}
@media only screen and (min-width: 588px) {
    .ribbon-top1-background-on-category {
        position: absolute;
        background-color: #000; 
        height: 2em;
        width: 112.5%; /* make it reach far off the screen on the right so as to act as the background for the right ribbon flap */
        left: -31px; /* make it close to the 'left' property of .ribbonTop1::before so it can pass for its bg */
        top: -24px;
        z-index: -1;
    }
    .ribbon-bottom1-background-on-category {
        position: absolute;
        background-color: #000; 
        height: 2em;
        width: 112.7%; /* make it reach far off the screen on the right so as to act as the background for the right ribbon flap */
        left: -33px; /* make it close to the 'left' property of .ribbonTop1::before so it can pass for its bg. 
                 The lower the number, the more it moves to the left */
        top: -24px !important;
        z-index: -1;
    }
}
@media only screen and (min-width: 695px) {
    .ribbon-top1-background-on-category {
        position: absolute;
        background-color: #000; 
        height: 2em;
        width: 110%; /* make it reach far off the screen on the right so as to act as the background for the right ribbon flap */
        left: -31px; /* make it close to the 'left' property of .ribbonTop1::before so it can pass for its bg */
        top: -24px;
        z-index: -1;
    }
    .ribbon-bottom1-background-on-category {
        position: absolute;
        background-color: #000; 
        height: 2em;
        width: 110.5%; /* make it reach far off the screen on the right so as to act as the background for the right ribbon flap */
        left: -33px; /* make it close to the 'left' property of .ribbonTop1::before so it can pass for its bg. 
                 The lower the number, the more it moves to the left */
        top: -24px !important;
        z-index: -1;
    }
}

/* fixes from 768-991 */
@media only screen and (min-width: 768px) {
    /* fixed related cat thumbnail img size */
    .carousel-inner .img-box img {
        max-height: 100px;
        margin-left:8px;
    }

    /*fixed sponsored ribbon effect bg wrapper*/
    .ribbon-top1-background-on-category {
        position: absolute;
        background-color: #000; 
        height: 2em;
        width: 109.5%; /* make it reach far off the screen on the right so as to act as the background for the right ribbon flap */
        left: -31px; /* make it close to the 'left' property of .ribbonTop1::before so it can pass for its bg */
        top: 62px;
        z-index: -1;
    }
    .ribbon-bottom1-background-on-category {
        position: absolute;
        background-color: #000; 
        height: 2em;
        width: 109.5%; /* make it reach far off the screen on the right so as to act as the background for the right ribbon flap */
        left: -31px; /* make it close to the 'left' property of .ribbonTop1::before so it can pass for its bg */
        top: -25px !important;
        z-index: -1;
    }
}

@media only screen and (max-width: 991px) {
    #property-listings .property-listing {
        padding: 5px!important;
    }
    #property-listings .property-listing a {
        margin: 0;
    }
    #property-listings .property-listing .media-body {
        padding: 10px;
    }

    /*  on small screens, hide the catalog item description text */
    .catalogItemDescription {
        display: none;
    }
}

/*fixes from 992-1199 */
@media only screen and (min-width: 992px) {
    #property-listings .property-listing img {
        max-width: 180px;
    }

    /* fixed related cat thumbnail img size */
    .carousel-inner .img-box img {
        max-height: 140px;
    }

    /*fixed sponsored ribbon effect bg wrapper */
    .ribbon-top1-background-on-category {
        position: absolute;
        background-color: #000; 
        height: 2em !important;
        width: 107% !important; /* make it reach far off the screen on the right so as to act as the background for the right ribbon flap */
        /*left: -31px; /* make it close to the 'left' property of .ribbonTop1::before so it can pass for its bg */
        top: 6px !important;
        z-index: -1;
    }
    .ribbon-bottom1-background-on-category {
        position: absolute;
        background-color: #000; 
        height: 1em;
        width: 107% !important; /* 107% make it reach far off the screen on the right so as to act as the background for the right ribbon flap */
        /*left: -31px; /* make it close to the 'left' property of .ribbonTop1::before so it can pass for its bg */
        top: 0.4em !important;
        z-index: -1;
    }
}

/*fixes from 1200 */
@media only screen and (min-width: 1200px) { /* PICK IT UP FROM HERE SE WHY THIS IS NOT RESPONDING */
    .ribbon-top1-background-on-category {
        width: 108% !important;
        background-color: #000;
    }
    .ribbon-bottom1-background-on-category {
        width: 108% !important;
    }
}



/*--------------------UTILITY CLASSES--------------*/
.h1SeoStyle {
    display: inline;
    font-size: 1rem;
    font-weight: normal;
    margin: 0;
    padding: 0;
    text-align: center;
}
/*------------------END UTILITY CLASSES------------*/
