@media (min-width: 390px) {
    
    /* Index */
    .indexgrid .grid-item {-ms-flex: 0 0 50%; flex: 0 0 50%; max-width:50%; }
    .indexgrid .grid-item:nth-child(3) a {border-left: solid 2px rgba(236, 174, 32,0.2);}
    .indexgrid .grid-item:nth-child(5) a {border-left: solid 2px rgba(236, 174, 32,0.2);}
    .indexgrid .grid-item:nth-child(7) a {border-left: solid 2px rgba(236, 174, 32,0.2);}
    .indexgrid .grid-item a {-webkit-box-pack:center; -ms-flex-pack:center; justify-content: center; -ms-flex-direction: column; flex-direction: column; padding:10px 5px 10px 5px; height: 100px; line-height:1.2; text-align: center;}
    .indexgrid .grid-item a br {display: block;}
    .indexgrid .grid-item a i.icon {display: none;}
    .indexgrid .grid-item a i.fas {font-size: 28px; margin: 0 auto 0.6rem; width: auto;}
    
    .indexgrid .grid-item.wide {-ms-flex: 0 0 100%; flex: 0 0 100%; max-width:100%;}
    .indexgrid .grid-item.wide a {-webkit-box-pack:center; -ms-flex-pack:center; justify-content: center; -ms-flex-direction: row; flex-direction: row; height: auto; padding:14px 10px 14px 10px; font-size: 16px;}
    .indexgrid .grid-item.wide a i.fas {margin: 0 15px 0 0;}
    
    /* New Vendors */
    #newvendors .row > div {margin-bottom: 15px;}
    #newvendors .row a {-webkit-box-pack: center; -ms-flex-pack:center; justify-content: center; padding: 5px 10px; text-align: center; height:70px;}
    #newvendors .row a i {display: none;}
    
    /* Cats */
    #singlecat .row > div {margin-bottom: 15px;}
    #singlecat .row a {-webkit-box-pack: center; -ms-flex-pack:center; justify-content: center; padding: 0.25rem 0.5rem; text-align: center; height:70px;}
    #singlecat .row a i {display: none;}
    
    /* Search */
    #resultsgrid .mix {margin-bottom: 15px;}
    #resultsgrid .row a {-webkit-box-pack: center; -ms-flex-pack:center; justify-content: center; padding: 5px 0.5rem; text-align: center; height:70px;}
    #resultsgrid .row a i {display: none;}
}
@media (min-width: 480px) {
    /* Index */
    .indexgrid .grid-item a {font-size: 0.9rem;}
    .indexgrid .grid-item.wide a {font-size: 0.9rem;}
    
    /* Discounts by Category */
    .discountpage .card-body ul li {width:50%;}
    
    /* Business */
    #business-buttons {-webkit-flex-flow:row wrap;-moz-flex-flow: row wrap;-ms-flex-flow: row wrap;flex-flow: row wrap; }
    #business-buttons a.btn {width:auto;}
    
    /* LTO */
    .ltoinfo > .links {-webkit-flex-flow:row wrap;-moz-flex-flow: row wrap;-ms-flex-flow: row wrap;flex-flow: row wrap; }
    .ltoinfo > .links a.btn {width:auto;}
}

@media (min-width: 576px) {
    .modal.lto .modal-dialog {max-width: 800px; width: auto;}

    /* Index */
    .logo (padding: 20px 15px;)
    .logo a img {width:175px;}
    .indexgrid .grid-item a br {display: none;}
    
    /* Discounts by Category */
    .discountpage .card-body ul li {width:33.333333%;}
    
    /* Business */
    #business-buttons a.btn {width:auto; margin: 5px;}
    
    /* Directions */
    .mapouter {height:400px;}
    
    /* LTO */
    #all.ltocontent .col-6 {margin-bottom: 1rem;}
    .ltoinfo > .links a.btn {width:auto; margin: 5px;}
}

@media (min-width: 768px) {
    /* Index */
    .indexgrid .grid-item a {font-size: 20px; height:140px;}
    .indexgrid .grid-item.wide a {font-size: 20px;}
    .indexgrid .grid-item a i.fas {font-size: 38px; margin: 0 auto 1rem;}
    
    /* Discounts & Program Info */
    .toplinks {margin:1.5rem auto 0;}
    .toplinks a {-webkit-justify-content: center; -moz-justify-content: center; -ms-justify-content: center; justify-content: space-around; -ms-flex-direction: column; flex-direction:column; font-size: 20px; padding:30px 16px;}
    .toplinks a i {font-size: 2.5rem; margin: 0 auto 1.5rem;}
}

@media (min-width: 1024px) {
    /* INdex */
    .indexgrid .grid-item a {font-size: 24px;}
    .indexgrid .grid-item a i.fas {font-size: 40px; margin: 10px auto 25px;}
    .indexgrid .grid-item.wide a {font-size: 24px;}
    
    /* Discounts & Program Info */
    .toplinks a {}
    .toplinks a i {font-size: 3rem;}
    .toplinks.programinfo .row > div {margin-bottom: 3rem;}
}

@media (min-width: 1200px) {
    /* INdex */
    .indexgrid .grid-item a {font-size:1.25rem;}
    .indexgrid .grid-item a i.fas {font-size: 3.25rem;}
    html.webapp .indexgrid .grid-item a i.icon {font-size: 3.25rem;}
}

@media (max-height: 667px) and (orientation: landscape) { 

    /* Vendors */
     #alpha > div > span > a {font-size:12px;margin: 0px 0px 0px 0px;}
}

@media (max-width:667px) and (max-height:375px) {
    
    /* Vendors */
    #alpha {}
    #alpha > div > span > a {font-size:11px;margin: 0px 0px 0px 0px;}
}

@media (max-width: 575px) {
    /* Header */
    header .navbar-toolbar > div {padding: 0 10px;}
    
    /* Inside Pages */
    .top-pagination {padding: 15px;}
    .top-pagination a.btn {padding: 12px 18px;}
    .top-pagination button {padding: 12px 18px;}
    #newvendors .top-pagination {flex-direction: column;}
    #newvendors .top-pagination > * {margin-bottom: 10px;}
    
    .maincontent .dropdown-menu {max-width: 250px;}
    .maincontent .dropdown-menu a.dropdown-item {white-space: normal; }
    
    /* Discounts & Program Info */
    .toplinks .row > div {margin-bottom: 15px;}
    .toplinks a {font-size: 16px; padding:1.25rem 1rem;}
    .toplinks a i {font-size: 1.5rem;}
}

@media (max-width: 480px) {
    
    /* Directions & Locations */
    #form-outer > form#location-form .row {-ms-flex-direction: column; flex-direction: column; -webkit-box-align: center;-ms-flex-align: center;align-items: center;}
    #form-outer > form input {height:46px;}
}

@media (max-width: 400px) {
    /* Header */
    div.navbar-toolbar span.sitename span {display: none;}
    
    
}

@media (max-width: 390px) {
    p {line-height: 1.6;}
    
    /* Category */
    .discountpage .card-body ul li a.btn {}
    #az ul li {-ms-flex: 0 0 100%; flex: 0 0 100%; max-width: 100%; padding-left: 0.25rem !important; padding-right: 0.25rem !important;}
}

@media (max-width: 389px) {
    
    
    /* New Vendors */
    #newvendors .row {margin-left:auto; margin-right:auto;}
    #newvendors .row > div {width:100%; padding-right:0;padding-left:0;}
    
    /* Category */
    #singlecat .row {margin-left:auto; margin-right:auto;}
    #singlecat .row > div {width:100%; padding-right:0;padding-left:0;}
    
    /* Search */
    #resultsgrid .gridouter .grid {margin-left:auto; margin-right:auto;}
    #resultsgrid .mix {width:100%; padding-right:0;padding-left:0;}
}

@media (max-width: 350px) {
    p {font-size: 15px;}
    
    /* Header */
    div.navbar-toolbar span.sitename {font-size: 15px;}
    div.navbar-toolbar button span {display: none;}
    div.navbar-toolbar button i {margin:0;}
    
    /* Index */
    .logo a img {width:100px;}

    .indexgrid .grid-item a {font-size: 13px;}
    .indexgrid .grid-item a i.fas {font-size: 13px;}
    .indexgrid .grid-item a i.icon {font-size: 13px;}
    
    /* Inside pages */
    .btn {padding: 14px 18px; font-size: 13px;}
    .pagetitle h2 {font-size: 18px;}
    .subtitle h3 {font-size: 18px;}
    .page-item:not(.page-arrow) {display: none;}
    .mixitup-pager.mixitup-pager-truncation-marker {display: none;}
    
    /* National Discounts */
    .nationallinks .grid .item {width:50%;}
    fieldset.filter-group input {font-size: 14px;}
    
    /* Vendors */
    #alpha > div span a {font-size: 13px;}
    
    /* Cats */
    #singlecat .row a {min-height: 50px;}
    
    /* Search */
    #resultsgrid .row a {min-height: 50px;}
    #resultsgrid .pagination .page-item:not(.page-arrow) {display: none;}
    
    /* Form Pages */
    .formContainer .form-group .form-control {font-size: 14px;}
}

html.ie .ltoImage img.img-fluid {width:100% !important;}
html.ie select::-ms-expand {display: none;}

html.webapp body.iphoneX footer .container-fluid {padding-bottom: 20px;}
html.webapp body.iphoneXR footer .container-fluid {padding-bottom: 20px;}
html.webapp body.iphone12 footer .container-fluid {padding-bottom: 20px;}