#offergridContent {
    position: relative;
    box-sizing: border-box;
    width: 960px;
    height: fit-content;
    font-family: "Lato", sans-serif;
    padding-bottom: 10px;
    overflow: hidden;
}

#cardContainer {
    padding-top: 5px;
    position: relative;
}

.card-container.grid-display .offergrid-card {
    display: inline-block;
    text-align: left;
    background-color: white;
}

.card-container.list-display .offergrid-card {
    display: none;
}

.card-container.grid-display .offer-list {
    display: none;
}

.card-container.list-display .offer-list {
    display: block;
}



.offer-list-table {
    width: 100%;
    margin-bottom: 10px;
}

.offer-list-table thead > tr > th {
    vertical-align: bottom;
    border-bottom: 2px solid #dddddd;
    padding: 8px;
    line-height: 1.846;
}

.offer-list-table tbody > tr > td {
    padding: 8px;
    line-height: 1.846;
    vertical-align: top;
    border-top: 1px solid #dddddd;
}

.offergrid-card {
    height: 160px;
    width: 300px;
    margin: 0 9px 40px 9px;
    border-width: 1px;
    border-style: solid;
    position: relative;
    display: inline-block;
}

.offer-title {
    font-size: 17px;
    margin: 5px 0;
    height: 46px;
    width: 100%;
    overflow: hidden;
    align-items: center;
    line-height: 22px;
    text-overflow: ellipsis;
    display: flex;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.offer-info {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    overflow: hidden;
    padding-left: 0px;
    color: #141414;
}

.overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    overflow: hidden;
    padding-left: 15px;
    background:rgba(170,170,170,0.5);
}
.stamp {
    display: block;
    text-align: center;
    height: 100%;
}
.stamp-inner {
    width: auto;
    height: 199px;
    -webkit-transform: rotate(-20deg) scale(0.7);
    -ms-transform: rotate(-20deg) scale(0.7);
    transform: rotate(-20deg) scale(0.7);
    display: inline-block;
}
.stamp-inner .rounded-rect {
    background: #ff1a0a;
    border-radius: 12px;
    position: absolute;
    top: 45px;
    left: -35px;
}
.stamp-inner .watermark {
    padding: 3px 10px;
    text-align: center;
    color: white;
    margin: 0;
    font-size: 30px;
    font-family: sans-serif;
    font-weight: bold;
    letter-spacing: 2px;
}
.circle {
    background: white;
    border-radius: 500px;
    border-color: #c3392f;
}
.circle.first {
    width: 145px;
    height: 145px;
    position: relative;
    border-width: 5px;
    border-style: solid;
    border-color:inherit;

}
.circle.second {
    width: 115px;
    height: 115px;
    margin: 10px 10px;
    border-width: 2px;
    border-style: dotted;
    border-color: inherit;

}
.circle.third {
    width: 95px;
    height: 95px;  
    margin: 8px 8px;
    border-width: 3.5px;
    border-style: solid;
    border-color: inherit;

}

.offer-text {
    width: calc(100% - 140px);
    height: 100%;
    position: absolute;
    top: 0;
    left: 135px;
}

.offer-brand {
    font-size: 14px;
    font-weight: 600;
    height: 24px;
    overflow: hidden;
}

.offer-description {
    height: 48px;
    overflow: hidden;
    font-size: 10px;
    line-height: 12px;
}

.details-link-line {
    font-size: 10px;
    position: absolute;
    bottom: 10px;
}

.details-link {
    text-decoration: none;
}

.details-link:hover {
    text-decoration: underline;
}

.card-logo {
    position: absolute;
    display: block;
    width: 120px;
    height: 100%;
    left: 0;
    top: 0;
    padding: 0 10px;
}

.card-logo-image-container {
    display: table-cell;
    vertical-align: middle;
    height: 120px;
}

img.card-logo-image {
    width: 120px;
    height: auto;
}

.offer-expiry-date-line {
    position: absolute;
    font-size: 10px;
    bottom: 10px;
    left: 10px;
}

.add-circle, .already-clipped-circle {
    font-family: Arial;
    position: absolute;
    bottom: -15px;
    right: -5px;
    height: 35px;
    width: 36.5px;
    color: #FFF;
    font-size: 20pt;
    font-weight: 600;
    text-align: center;
    border-radius: 20px;
    /* padding: 8px 1.5px 0 2px; */
}

.add-circle {
    cursor: pointer;
}

.already-clipped-circle {
    cursor: default;
    height: 33px;
    padding-top: 0px;
}

img.already-clipped-check {
    width: 36px;
    height: 36px;
    position: relative;
    top: 0;
}

.link-control {
    cursor: pointer;
}

.link-control:hover {
    text-decoration: underline;
}

#reloadIndicator {
    float: left;
    position: absolute;
    width: 0;
    height: 20px;
    z-index: -10000;
}

.offergrid-masthead {
    color: #FFF;
    font-size: 12px;
    height: 40px;
    padding: 5px 10px;
    margin: 0 0 5px 0;
}

.offergrid-masthead select {
    font-size: 12px;
    position: relative;
    top: 2px;
}

.offergrid-masthead label {
    display: inline-block;
    height: 28px;
    line-height: 28px;
    width: 300px;
    position: relative;
}

.offergrid-masthead select {
    background-color: #FFF;
    color: #141414;
    margin: 0 10px;
    padding: 2px 5px;
    width: 200px;
    position: absolute;
    right: 0;
}

.view-type-label select {
    width: 120px;
}

.view-type-label {
    position: absolute;
    right: 0;
}

.save-method-label select {
    width: 160px;
}

.status-filter-label select {
    width: 220px;
}

.offergrid-save-method {
    position: relative;
}

.offergrid-save-method-selector {
    height: 40px;
    width: 100%;
    text-align: right;
    position: relative;
}

.offergrid-save-method-selector .save-method-label {
    font-size: 15px;
    margin-right: 10px;
}

.offergrid-save-method-selector .available-save-methods {
    display: none;
    width: 300px;
    border: 1px solid #000;
    float: right;
    position: absolute;
    top: 42px;
    right: 60px;
    padding: 5px;
    background-color: #FFF;
    text-align: left;
    z-index: 1000;
}

.offergrid-save-method-selector .selected-save-method {
    display: inline-block;
    width: 240px;
    height: 40px;
    text-align: center;
}

.offergrid-save-method-selector .selected-save-method img {
    height: 100%;
    width: auto;
}

.offergrid-save-method-selector .change-save-method-control {
    display: inline-block;
    cursor: pointer;
    font-size: 15px;
    margin-left: 10px;
}

.offergrid-save-method-selector .available-save-methods .offergrid-save-method {
    width: 100%;
    margin: 5px 0;
}

.offergrid-save-method-selector .available-save-methods .offergrid-save-method .offergrid-save-method-image-container {
    display: inline-block;
    height: 40px;
    width: 85%;
    text-align: center;
}

#offergridSaveMethodImageContainer-apple_wallet {
    height: 54px;
}

#offergridSaveMethodImageContainer-coupdog_save {
    height: auto;
    max-height: 54px;
    min-height: 40px;
}

.offergrid-save-method-selector .available-save-methods .offergrid-save-method img {
    height: 100%;
    width: auto;
    display: inline-block;
}

#offergridSaveMethodImageContainer-coupdog_save img {
    width: 220px;
    height: auto;
}

.offergrid-save-method-selector .offergrid-selected-method-indicator {
    position: absolute;
    right: 5px;
    top: 5px;
    color: #FFF;
    background-color: #6483cb;
    height: 30px;
    width: 30px;
    text-align: center;
    border-radius: 30px;
    font-size: 15px;
    cursor: default;
}

select {
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-left: 0;
    padding-right: 0\9;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAMAAACelLz8AAAAJ1BMVEVmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmaP/QSjAAAADHRSTlMAAgMJC0uWpKa6wMxMdjkoAAAANUlEQVR4AeXJyQEAERAAsNl7Hf3X6xt0QL6JpZWq30pdvdadme+0PMdzvHm8YThHcT1H7K0BtOMDniZhWOgAAAAASUVORK5CYII=);
    -webkit-background-size: 13px 13px;
    background-size: 13px;
    background-repeat: no-repeat;
    background-position: right center;
    -webkit-box-shadow: inset 0 -1px 0 #ddd;
    box-shadow: inset 0 -1px 0 #ddd;
    font-size: 16px;
    line-height: 1.5;
}

#reloadButton {
    text-transform: uppercase;
    border: none;
    box-shadow: 1px 1px 4px rgba(0,0,0,0.4);
    transition: all 0.4s;
    background-size: 200%;
    background-position: 50%;
    color: #ffffff;
    background-color: #2196f3;
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    white-space: nowrap;
    padding: 6px 16px;
    font-size: 13px;
    line-height: 1.846;
    border-radius: 3px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.offergrid-hidden {
    display: none !important;
}

.offergrid-slider {
    position: relative;
}

.offerslider-control {
    box-sizing: border-box;
    display: block;
    width: 40px;
    height: 40px;
    border: 1px solid #AAA;
    border-radius: 20px;
    color: #444;
    padding: 0;
    position: absolute;
    top: 60px;
    z-index: 1000;
    background-color: #FFF;
    cursor: pointer;
    line-height: 32px;
}

.offerslider-control i.material-icons {
    font-size: 36px;
}

#offersliderRightControl {
    right: 0;
    padding-left: 2px;
}

#offersliderLeftControl {
    left: 0;
    padding-left: 0;
}

.offerslider-control.disabled {
    color: #777;
    background-color: #DDD;
    cursor: default;
}

#offersliderContent {
    height: 180px;
    position: relative;
}

#offersliderContainer {
    overflow: hidden;
}

.disable-select {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

@media (max-width: 350px) {
    .offergrid-card {
        width: 290px;
    }
    
    .offergrid-slider .offergrid-card {
        width: 300px;
    }

    div#cardContainer {
        white-space: nowrap;
        width: unset;
        overflow-x: scroll;
        overflow-y: hidden;
    }
}
@media (max-width: 480px) {
    #reloadIndicator {
        bottom: 980px;
    }
    
    .offergrid-card {
        margin: 10px 0;
    }
    
    .offergrid-slider .offergrid-card {
        margin: 0 9px 40px 9px;
    }
    
    .offergrid-save-method-selector {
        height: 110px;
        text-align: left;
    }
    div#cardContainer {
        white-space: nowrap;
        width: unset;
        overflow-x: scroll;
        overflow-y: hidden;
    }
}

@media (min-width: 481px) and (max-width: 1099px) {
    .offergrid-card {
        margin: 0 10px 40px 10px;
    }
}

@media (max-width: 1100px) {
    #offergridContent {
        width: 100%;
    }
    
    .offergrid-masthead {
        height: 56px;
    }
    
    .offergrid-masthead label {
        display: block;
        position: relative;
    }
    
    .offergrid-masthead select {
        position: absolute;
        left: 80px;
    }
}

@media (max-width: 640px) {
    .offergrid-masthead select {
        width: 180px !important;
    }
    
    #cardContainer {
        text-align: center;
    }
    
    .offerslider-control {
        display: none;
    }

    div#cardContainer {
        white-space: nowrap;
        width: unset;
        overflow-x: scroll;
        overflow-y: hidden;
    }
}

@media (max-width: 643px) {
    #cardContainer {
        text-align: center;
    }
    div#cardContainer {
        white-space: nowrap;
        width: unset;
        overflow-x: scroll;
        overflow-y: hidden;
    }
}

p {
    font-family: 'Lato', sans-serif;
    font-size: 1.2em;
    font-weight: 400;
}
p {
    margin: 0 0 1em;
}

.offergrid-view {
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    padding: 5px 10px;
}

.offergrid-view .viewlink {
    margin-right: 0;
    background-color: none;
    border: none;
    color: red;
    border-bottom: 1px solid red;
    margin: 0px 5px;
    padding: 10px 0px;
    text-decoration: none;  
  }

.viewlink:hover, .myactive {
  background-color: transparent;
  border: none;  
  text-decoration: none;
  border-bottom: 2px solid!important;
}

@media (max-width: 300px) {
    .offergrid-view .viewlink {
        display: block;
        width: 60%
    }
}

@media (max-width: 1115px) {
  #coupdogStatusContainer { width: 99%!important;}
  .offergrid-masthead select {
     background:transparent;
     height: 0!important;
     width: 0!important;
     border-left: 10px solid transparent;
     border-right: 10px solid transparent;
     border-top: 10px solid #fff;
     padding: 0;
     left: 40px;
     top: -4px;
     outline: none;
   }
   .offergrid-masthead select option {
     background: #fff;
   }
   .offergrid-masthead label {
     max-width: 100px;
     display: inline-block;
     line-height: 0;
   }
   .offergrid-masthead {
     padding-top: 0px;
     padding-bottom: 0px;
     height: auto;
   }
   .offergrid-masthead label {
     top: 10px;
   }
}
@media (max-width: 689px) {
    div#cardContainer {
        overflow-x: hidden !important;
        overflow-y: auto !important;;
    }
    .card-container.grid-display .offergrid-card {
        float: left;
        width: 45%;
    }

}
@media (max-width: 550px) {
    .card-container.grid-display .offergrid-card {
        display: block !important;
        width: 99%;
        margin-bottom: 30px;
    }
}
.pagination {
    display: block;
    clear: both;
}