/* New discount */

.dm-newest-discounts {
    width: 100%;
    display: flex;
    margin-top: -35px;
    margin-bottom: 25px;
}

.dm-newest-discounts a {
    border-radius: 13px;
    background-color: white;
    -webkit-box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.16);
    -moz-box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.16);
    box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.16);
    text-decoration: none;
    padding: 10px 15px;
    width: calc(20% - 7px);
    margin: 0px 7px;
}

.dm-newest-discount-logo-wrapper {
    display: flex;
    height: 50px;
    align-items: center;
}

.dm-newest-discount-logo-wrapper img {
    max-height: 45px;
    max-width: 100px;
}

.dm-newest-discounts a h3 {
    color: var(--darkgray);
    font-weight: bold;
    font-size: 14px;
    margin: 0;
}

.dm-newest-discounts a p {
    font-size: 10px;
    font-weight: 400;
    color: var(--gray);
    margin: 0;
}

@media (max-width: 900px) {
    .dm-newest-discounts {
        flex-wrap: wrap;
    }

    .dm-newest-discounts a {
        width: 100%;
        margin: 5px 0px;
    }

    .dm-newest-discounts .dm-newest-discount {
        display: flex;
        align-items: center;
    }

    .dm-newest-discount-logo-wrapper {
        min-width: 120px;
        text-align: center;
        height: unset;
    }
}

.dm-newest-discount-error {
    border: 1px solid #cccccc;
    border-radius: 16px;
}

.dm-newest-discount-error img {
    height: 60px;
    float: left;
    margin-left: 20px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.dm-newest-discount-error p {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: sans-serif !important;
    color: #7A7A7A;
}

.dm-search-discount-error {
    border: 1px solid #cccccc;
    border-radius: 16px;
    font-size: x-large;
}

.dm-search-discount-error img {
    width: 62px;
    float: left;
    margin-top: 5px;
    margin-left: 80px;
    margin-bottom: 5px;
}

.dm-search-discount-error p {
    text-align: center;
    font-family: sans-serif !important;
}

/* Reset styles */

#dm-discount-finder .dm-left-column .dm-results {
    margin-top: 0;
    display: flex;
    flex-wrap: wrap;
    padding-top: 10px;
}

#dm-discount-finder img {
    -ms-interpolation-mode: bicubic; /* For better look of scaled dovn images in IE */
    height: auto; /* This is important fix of IE. If not present, the scales images randomly kept it's original size. */
}

#dm-discount-finder * {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

/* Components */

.dm-hidden {
    display: none;
}

#dm-discount-finder a {
    color: #7A7A7A;
}

#dm-discount-finder .dm-box .dm-display-switch a:hover:not(.dm-btn-active) {
    color: #3FB8B8;
}

#dm-discount-finder .dm-filter-card-types a:hover {
    color: #3FB8B8;
}

#dm-discount-finder .dm-filter-categories a:hover {
    color: #3FB8B8;
}

#dm-discount-finder .dm-filter-categories-child {
    margin-left: 0;
}

#dm-discount-finder .dm-box .dm-sorting-switch span:hover {
    color: #3FB8B8;
}

#dm-discount-finder .dm-btn, #dm-discounts-shortcut .dm-btn, #addPhotoWindow .dm-btn {
    background-color: white;
    padding: 9px 10px 8px 10px;
    font: normal normal normal 13px / 30px "Open Sans", Helvetica, Arial, Verdana, sans-serif;
    text-transform: none;
    display: inline-block;
    position: relative;
    text-decoration: none;
    white-space: nowrap;
    color: #666666;
    line-height: 18px;
    vertical-align: bottom;
    cursor: pointer;
    outline: none;
    font-size: 16px;
    font-weight: bold;
    background-color: var(--lightgreen);
    border: 0px;
    color: var(--darkgreen);
}

#dm-discount-finder .dm-btn, #dm-discounts-shortcut .dm-btn, #addPhotoWindow .dm-btn i {
    font-size: 15px;
}

#dm-discount-finder .dm-btn.dm-btn-use-online {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    padding: 4px 8px;
    text-decoration: none;
}


#dm-discount-finder a {
    text-decoration: none;
}

#dm-discount-finder .dm-btn:hover {
    text-decoration: none;
}

#dm-discount-finder .dm-btn-active, #dm-discounts-shortcut .dm-btn, #addPhotoWindow .dm-btn-active {

}

#dm-discount-finder .dm-btn-active:hover, #addPhotoWindow .dm-btn-active:hover {

}

#dm-discount-finder .dm-btn-group > .dm-btn {
    float: left;
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

#dm-discount-finder .dm-btn-group .dm-btn + .dm-btn {
    margin-left: -1px;
}

#dm-discount-finder .dm-btn-group > .dm-btn:first-child:not(:last-child) {
    webkit-border-bottom-right-radius: 0;
    -moz-border-bottom-right-radius: 0;
    -ms-border-bottom-right-radius: 0;
    -o-border-bottom-right-radius: 0;
    border-bottom-right-radius: 0;
    webkit-border-top-right-radius: 0;
    -moz-border-top-right-radius: 0;
    -ms-border-top-right-radius: 0;
    -o-border-top-right-radius: 0;
    border-top-right-radius: 0;
    margin-right: 0;
}

#dm-discount-finder .dm-btn-group > .dm-btn:not(:first-child):not(:last-child) {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
}


#dm-discount-finder .dm-btn-group > .dm-btn:last-child:not(:first-child) {
    webkit-border-bottom-left-radius: 0;
    -moz-border-bottom-left-radius: 0;
    -ms-border-bottom-left-radius: 0;
    -o-border-bottom-left-radius: 0;
    border-bottom-left-radius: 0;
    webkit-border-top-left-radius: 0;
    -moz-border-top-left-radius: 0;
    -ms-border-top-left-radius: 0;
    -o-border-top-left-radius: 0;
    border-top-left-radius: 0;
    margin-right: 0;
}

.dm-input, .dm-select, .dm-toggle {
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    border-radius: 8px;
    border: 1px solid var(--green);
    background-color: white;
    padding: 9px 10px 9px 10px;
    color: #7A7A7A;
    white-space: nowrap;
    overflow: hidden;
    outline: none;
    display: flex;
    align-items: center;
    height: 35px;
    justify-content: center;
}

.dm-input:focus, .dm-select:focus {
    border: 1px solid #E0E0E0;
}

.dm-select:active {
    -webkit-border-bottom-left-radius: 0;
    -moz-border-bottom-left-radius: 0;
    -ms-border-bottom-left-radius: 0;
    -o-border-bottom-left-radius: 0;
    border-bottom-left-radius: 0;
    -webkit-border-bottom-right-radius: 0;
    -moz-border-bottom-right-radius: 0;
    -ms-border-bottom-right-radius: 0;
    -o-border-bottom-right-radius: 0;
    border-bottom-right-radius: 0;
}

.dm-box .dm-text-search {
    background-color: var(--lightgreen);
    padding: 18px 40px;
}

@media (max-width: 767px) {
    .dm-box .dm-text-search {
        padding: 18px;
    }
}

.dm-box .dm-text-search .title {
    font-size: 14px;
    font-weight: 400;
    color: var(--darkgray);
}

.dm-box .dm-text-search-wrapper {
    display: flex;
    border-radius: 7px;
    overflow: hidden;
    -webkit-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.16);
    -moz-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.16);
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.16);
}

.dm-box .dm-text-search div:nth-child(1) {
    width: 100%;
}

.dm-box .dm-text-search input::-ms-clear {
    display: none;
}

.dm-box {
    color: #7A7A7A;
    margin: 10px;
}

.dm-box-bordered {
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    border-radius: 8px;
}

.dm-right-column .dm-box-bordered h2 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    font-weight: normal;
    padding: 0px;
    background: none;
    display: block;
}

.dm-switch-toggle {
    display: inline-block;
}

/* Icons */

.dm-icon-refresh {
    background: url("../img/refresh.png");
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 7px;
}

.dm-rotate {
    -webkit-animation: spin 1s linear infinite;
    -moz-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@-moz-keyframes spin {
    0% {
        -moz-transform: rotate(0deg);
    }
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-o-keyframes spin {
    0% {
        -o-transform: rotate(0deg);
    }
    100% {
        -o-transform: rotate(360deg);
    }
}

@-ms-keyframes spin {
    0% {
        -ms-transform: rotate(0deg);
    }
    100% {
        -ms-transform: rotate(360deg);
    }
}

.dm-btn i.fa {
    margin-right: 7px;
}

.dm-icon-card-type {
    display: inline-block;
    width: 20px;
    height: 20px;
    overflow: hidden;
    background: url("../img/card-type-icons.png");
    background-position: 20px 20px;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}

.dm-icon-card-type-isic {
    background-position: 0 0;
}

.dm-icon-card-type-itic {
    background-position: 0 -20px;
}

.dm-icon-card-type-iytc {
    background-position: 0 -40px;
}

.dm-icon-card-type-alive {
    background-position: 0 -60px;
}

.dm-icon-card-type-eyca {
    background-position: 0 -80px;
}

.dm-icon-card-type-isic_scholar {
    background-position: 0 -100px;
}

.dm-line-separator {
    padding: 5px;
}

/* Category icons */


#dm-discount-finder span.dm-category-icon {
    background-position: center;
    display: inline-block;
    width: 32px;
    height: 37px;
    overflow: hidden;
    background-repeat: no-repeat;
}

#dm-discount-finder span.dm-category-icon-other {
    background-image: url('../img/icons/other.svg');
}

#dm-discount-finder span.dm-category-icon-funAndRelax {
    background-image: url('../img/icons/funAndRelax.svg');
}

#dm-discount-finder span.dm-category-icon-education {
    background-image: url('../img/icons/education.svg');
}

#dm-discount-finder span.dm-category-icon-accommodation {
    background-image: url('../img/icons/accommodation.svg');
}

#dm-discount-finder span.dm-category-icon-sport {
    background-image: url('../img/icons/sport.svg');
}

#dm-discount-finder span.dm-category-icon-skiResort {
    background-image: url('../img/icons/skiResort.svg');
}

#dm-discount-finder span.dm-category-icon-culture {
    background-image: url('../img/icons/culture.svg');
}

#dm-discount-finder span.dm-category-icon-shopping {
    background-image: url('../img/icons/shopping.svg');
}

#dm-discount-finder span.dm-category-icon-foodAndDrink {
    background-image: url('../img/icons/foodAndDrink.svg');
}

#dm-discount-finder span.dm-category-icon-festival {
    background-image: url('../img/icons/festival.svg');
}

#dm-discount-finder span.dm-category-icon-eshop {
    background-image: url('../img/icons/eshop.svg');
}

#dm-discount-finder span.dm-category-icon-transportation {
    background-image: url('../img/icons/transportation.svg');
}

#dm-discount-finder span.dm-category-icon-travel {
    background-image: url('../img/icons/travel.svg');
}

#dm-discount-finder span.dm-category-icon-drugStore {
    background-image: url('../img/icons/drugStore.svg');
}

#dm-discount-finder span.dm-category-icon-electronics {
    background-image: url('../img/icons/electronics.svg');
}

#dm-discount-finder span.dm-category-icon-fashion {
    background-image: url('../img/icons/fashion.svg');
}

#dm-discount-finder span.dm-category-icon-finance {
    background-image: url('../img/icons/finance.svg');
}

#dm-discount-finder span.dm-category-icon-flowers {
    background-image: url('../img/icons/flowers.svg');
}

#dm-discount-finder span.dm-category-icon-gaming {
    background-image: url('../img/icons/gaming.svg');
}

#dm-discount-finder span.dm-category-icon-groceries {
    background-image: url('../img/icons/groceries.svg');
}

#dm-discount-finder span.dm-category-icon-healthAndBeauty {
    background-image: url('../img/icons/healthAndBeauty.svg');
}

#dm-discount-finder span.dm-category-icon-literature {
    background-image: url('../img/icons/literature.svg');
}

#dm-discount-finder span.dm-category-icon-music {
    background-image: url('../img/icons/music.svg');
}

#dm-discount-finder span.dm-category-icon-operators {
    background-image: url('../img/icons/operators.svg');
}

#dm-discount-finder span.dm-category-icon-optics {
    background-image: url('../img/icons/optics.svg');
}

#dm-discount-finder span.dm-category-icon-pets {
    background-image: url('../img/icons/pets.svg');
}

#dm-discount-finder span.dm-category-icon-pharmacy {
    background-image: url('../img/icons/pharmacy.svg');
}

#dm-discount-finder span.dm-category-icon-photoAndVideo {
    background-image: url('../img/icons/photoAndVideo.svg');
}

#dm-discount-finder span.dm-category-icon-stationeryAndPrint {
    background-image: url('../img/icons/stationeryAndPrint.svg');
}

#dm-discount-finder .dm-results .dm-map-legend h2 {
    font-weight: 500;
    font-size: 20px;
    color: var(--darkgray);
}

#dm-discount-finder .dm-results .dm-map-legend-categories {
    position: relative;
    width: 100%;
}

#dm-discount-finder .dm-results .dm-map-legend-categories-category {
    float: left;
    width: 25%;
    position: relative;
    margin-bottom: 5px;
}

#dm-discount-finder .dm-results .dm-map-legend dd {
    width: 32px;
    height: 37px;
    margin: 0;
}

#dm-discount-finder .dm-results .dm-map-legend dt {
    font-weight: normal;
    padding: 10px 0 0 10px;
    position: absolute;
    margin-left: 32px;
    top: 0;
    left: 0;
    line-height: 1;

}

/* Switch */

#dm-discount-finder input.dm-switched {
    display: none;
}

#dm-discount-finder label.dm-switch-label {
    display: inline-block;
    width: 20px;
    height: 11px;
    padding: 1px;
    margin: 0px 7px;
    border-radius: 11px;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0.1)), color-stop(100%, rgba(255, 255, 255, 0)));
    background-color: #40B8B8;
    cursor: pointer;
}

#dm-discount-finder .dm-switch {
    display: block;
    width: 9px;
    height: 9px;
    padding: 0px;
    background: #ffffff;
    border-radius: 9px;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

#dm-discount-finder input.dm-switched:checked ~ label.dm-switch-label .dm-switch {
    margin-left: 9px;
}

#dm-discount-finder span.dm-switch-text-left, #dm-discount-finder span.dm-switch-text-right {
    color: #8D9095;
    cursor: pointer;
    -webkit-transition: 1.3s;
    -moz-transition: 1.3s;
    -o-transition: 1.3s;
    transition: 1.3s;
}

#dm-discount-finder span.dm-switch-text-left:hover, #dm-discount-finder span.dm-switch-text-right:hover {
    text-decoration: underline;
}

#dm-discount-finder input[type="checkbox"]:not(:checked) ~ span.dm-switch-text-left {
    color: #3eadae;
    font-weight: bold;
}

#dm-discount-finder input[type="checkbox"]:checked ~ span.dm-switch-text-right {
    color: #3eadae;
    font-weight: bold;
}

/* Basic layout styling */

#dm-discount-finder {
    width: 100%;
    min-height: 400px;
}

#dm-discount-finder .dm-filter-text {
    line-height: 18px;
    height: 50px;
    border-right: none;
    width: 100%;
    border-radius: 0;
    border: 0px;
}

#dm-discount-finder .dm-text-search button {
    line-height: 20px;
    height: 50px;
    border: none;
    text-transform: none;
}

#dm-discount-finder .dm-text-search .dm-filter-text-submit {
    border-left: none;
    border-radius: 0;
    border: 0px;
    height: 50px;
    background: white;
    color: var(--darkgreen);
}

#dm-discount-finder .dm-text-search .dm-filter-text-reset {
    margin-left: 0.5%;
}

#dm-discount-finder ul.dm-filter {
    margin: 0;
    padding: 0;
}

#dm-discount-finder .dm-filter-item::before {
    display: none;
}

#dm-discount-finder .dm-filter-item a {
    color: var(--gray);
    display: block;
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
    cursor: pointer;
    line-height: 1.7em;
    font-size: 16px;
}

#dm-discount-finder .dm-filter-item-card-type a {
    vertical-align: middle;
}

#dm-discount-finder .dm-filter-item-card-type a .dm-icon-card-type {
    margin: -2px 5px 0 0;
}


#dm-discount-finder .dm-filter-item.dm-active > a {
    color: #3fb8b8;
    font-weight: bold;
}

#dm-discount-finder .dm-filter-card-types {
    padding: 10px;
}

#dm-discount-finder .dm-filter-categories {
    padding: 10px;
}

#dm-discount-finder .dm-left-column {
    float: left;
    width: 75%;
}

#dm-discount-finder #dm-provider-detail .dm-left-column {
    width: calc(100% - 390px);
}

#dm-discount-finder .dm-right-column {
    float: right;
    width: 25%;
}

#dm-discount-finder #dm-provider-detail .dm-right-column {
    max-width: 390px;
    width: 100%;
}

@media (max-width: 900px) {
    #dm-discount-finder #dm-provider-detail .dm-left-column,
    #dm-discount-finder #dm-provider-detail .dm-right-column {
        width: 100%;
        max-width: 100%;
    }
}

#dm-discount-finder #dm-provider-detail .dm-discount-list {
    padding: 5px;
}

#dm-discount-finder .dm-right-column .dm-box {
    margin-bottom: 20px;
}

#dm-discount-finder .dm-right-column .dm-box.dm-similar-discounts,
#dm-discount-finder .dm-right-column .dm-box.tags,
#dm-discount-finder .dm-right-column .dm-box.gallery {
    /* display:none !important;*/
}

#dm-discount-finder .dm-display-switch {
    width: 45%;
    float: left;
    padding-bottom: 5px;
    border-bottom: 1px solid #CECECE;

}

#dm-discount-finder .dm-display-switch .dm-btn {
    width: 33.33%;
    background: none;
    color: var(--gray);
    text-align: center;
}

#dm-discount-finder .dm-sorting-switch {
    width: 55%;
    float: right;
    padding-bottom: 5px;
    border-bottom: 1px solid #CECECE;
}

#dm-discount-finder .dm-sorting-switch .dm-sort-order-wrapper {
    width: 50%;
    float: right;
    min-width: 195px;
    max-width: 230px;
    text-align: center;
    padding-top: 3px; /* These paddings are hack of strange measures. */
    padding-bottom: 2px;

}

#dm-discount-finder .dm-sorting-switch .dm-sort-key-select {
    width: 40%;
    float: right;
    margin-right: 10px;
}


#dm-discount-finder .dm-results {
    min-height: 150px;
    margin-top: 20px;
    clear: both;
}


/* list */

#dm-discount-finder .dm-results .dm-provider-list-item, #dm-discount-finder .dm-discount-list-item {
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    border-radius: 8px;
    padding: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
    -webkit-box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.16);
    -moz-box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.16);
    box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.16);
    width: 100%;
}

#dm-discount-finder .dm-results .dm-provider-list-item .dm-provider-list-item-logo {
    width: 15%;
    max-width: 100px;
    height: 100px;
    line-height: 100px;
    float: left;
    background: url('../img/isic-image.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    cursor: pointer;
    text-align: center;
}

@media (max-width: 767px) {
    #dm-discount-finder .dm-results .dm-provider-list-item .dm-provider-list-item-logo {
        width: 100%;
    }
}

#dm-discount-finder .dm-results .dm-provider-list-item .dm-provider-list-item-logo img {
    max-width: 100%;
    max-height: 100px;
    vertical-align: middle;
}

#dm-discount-finder .dm-results .dm-provider-list-item .dm-provider-list-item-content {
    float: left;
    width: 85%;
    padding: 0 10px 35px 10px;
    color: #3f3f3f;
}

#dm-discount-finder .dm-results .dm-provider-list-item .dm-provider-list-item-content h2 {
    font-size: 16px;
    line-height: 1;
    font-weight: bold;
    margin: 7px 0 5px 0;
}

#dm-discount-finder .dm-results .dm-provider-list-item .dm-provider-list-item-content h2 span.dm-rating {
    display: none;
}

#dm-discount-finder .dm-results .dm-provider-list-item .dm-provider-list-item-content h2 span.dm-rating:first-child {
    margin-left: 0.5em;
}

#dm-discount-finder .dm-results .dm-provider-list-item .dm-provider-list-item-content .dm-provider-list-item-discount {

}

#dm-discount-finder .dm-results .dm-provider-list-item .dm-provider-list-item-content .dm-provider-list-item-discount-infoline {
    line-height: 1.2em;
    margin-top: 8px;
}

#dm-discount-finder .dm-results .dm-provider-list-item .dm-provider-list-item-content .dm-provider-list-item-discount-actionline {
    position: absolute;
    bottom: 10px;
}

#dm-discount-finder .dm-results .dm-provider-list-item .dm-provider-list-item-content .dm-provider-list-item-discount-button {
    padding: 10px 15px;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    -ms-border-radius: 100px;
    -o-border-radius: 100px;
    border-radius: 100px;
    font-size: 16px;
}

#dm-discount-finder .dm-results .dm-provider-list-item .dm-provider-list-item-content .dm-provider-user-content-counts {
    display: none;
}

#dm-discount-finder .dm-results .dm-provider-list-item .dm-provider-list-item-content .dm-provider-user-content-counts span {
    color: #3fb8b8;
    padding: 2px;
}

/* images */

#dm-discount-finder .dm-results .dm-provider-images-item {
    -webkit-border-radius: 8px 8px 0px 0px;
    -moz-border-radius: 8px 8px 0px 0px;
    -ms-border-radius: 8px 8px 0px 0px;
    -o-border-radius: 8px 8px 0px 0px;
    border-radius: 8px 8px 0px 0px;
    padding-bottom: 40px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
    width: calc(32.99% - 1%);
    float: left;
    -webkit-box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.16);
    -moz-box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.16);
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.16);
}

#dm-discount-finder .dm-results .dm-provider-images-item {
    margin-right: 2%;
    clear: both;
}

#dm-discount-finder .dm-results .dm-provider-images-item > a {
    display: none;
}

#dm-discount-finder .dm-results .dm-provider-images-item:nth-child(3n+3) {
    margin-right: 0%;
    clear: both;
}

#dm-discount-finder .clearer {
    clear: both;
    text-align: center;
}

#dm-discount-finder .dm-results .dm-provider-images-item .dm-provider-images-item-logo {
    width: 100%;
    min-height: 110px;
    background: url('../img/isic-image.png');
    background-color: white;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 10%;
    -webkit-border-top-left-radius: 8px;
    -moz-border-top-left-radius: 8px;
    -ms-border-top-left-radius: 8px;
    -o-border-top-left-radius: 8px;
    border-top-left-radius: 8px;
    -webkit-border-top-right-radius: 8px;
    -moz-border-top-right-radius: 8px;
    -ms-border-top-right-radius: 8px;
    -o-border-top-right-radius: 8px;
    border-top-right-radius: 8px;
    cursor: pointer;
    position: relative;
}

#dm-discount-finder .dm-results .dm-provider-images-item .dm-provider-images-item-logo a {
    display: block;
    min-height: 110px;
    width: 100%;
}


#dm-discount-finder .dm-results .dm-provider-images-item .dm-provider-images-item-logo img {
    display: block;
    width: 100%;
    -webkit-border-top-left-radius: 8px;
    -moz-border-top-left-radius: 8px;
    -ms-border-top-left-radius: 8px;
    -o-border-top-left-radius: 8px;
    border-top-left-radius: 8px;
    -webkit-border-top-right-radius: 8px;
    -moz-border-top-right-radius: 8px;
    -ms-border-top-right-radius: 8px;
    -o-border-top-right-radius: 8px;
    border-top-right-radius: 8px;
}

#dm-discount-finder .dm-results .dm-provider-images-item .dm-provider-images-item-logo div.dm-rating-wrapper {
    display: none;
}

#dm-discount-finder .dm-results .dm-provider-images-item .dm-provider-images-item-logo div.dm-rating-wrapper span.dm-rating-active {
    color: #FDEE51;
}

#dm-discount-finder .dm-results .dm-provider-images-item .dm-provider-images-item-logo div.dm-rating-wrapper span.dm-rating-inactive {
    color: #CBCBCB;
}

#dm-discount-finder .dm-results .dm-provider-images-item .dm-provider-images-item-content {
    padding: 15px;
}

#dm-discount-finder .dm-results .dm-provider-images-item .dm-provider-images-item-categories {
    display: none;
}

#dm-discount-finder .dm-results .dm-provider-images-item .dm-provider-images-item-content h2 {
    font-size: 1.3em;
    line-height: 1;
    font-weight: normal;
    margin: 0 0 5px 0;
    color: var(--darkgray);
    font-size: 16px;
}

#dm-discount-finder .dm-results .dm-provider-images-item .dm-provider-user-content-counts {
    display: none;
}

#dm-discount-finder .dm-results .dm-provider-images-item .dm-provider-user-content-counts span {
    color: #3fb8b8;
    padding: 2px;
}

#dm-discount-finder .dm-results .dm-provider-images-item .dm-provider-images-item-content .dm-provider-images-item-discount {
    font-size: 14px;
var(--gray)
}

#dm-discount-finder .dm-results .dm-provider-images-item .dm-provider-images-item-discount-button {
    position: absolute;
    bottom: 10px;
    left: 10px;
    text-transform: uppercase;
    padding: 4px 8px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    font-size: 0.9em;
}

/* map */

#dm-discount-finder .dm-results .dm-provider-map {
    height: 500px;
    width: 100%;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    border-radius: 8px;
    overflow: hidden;
}

#dm-discount-finder .dm-results .dm-map-legend {
    padding: 15px;
    width: 100%;
}

#dm-discount-finder .dm-results .dm-map-legend h1 {
    text-decoration: none;
}

.infowindow {
    position: absolute;
    width: 240px;
    padding-right: 30px;
}

.infowindow-wrapper {
    border: 5px solid rgba(255, 255, 255, .5);
    border-radius: 5px;
    width: 100%;
    height: 100%;
    cursor: url("https://maps.gstatic.com/mapfiles/openhand_8_8.cur"), default;
}

.infowindow-content {
    width: 100%;
    height: 100%;
    background-color: white;
    padding: 15px;
}

.infowindow h1 {
    font-size: 1.8em;
    padding-bottom: 10px;
    margin: 0;
    border-bottom-style: solid;
    border-bottom-color: rgb(234, 234, 234);
    border-bottom-width: 1px;
    line-height: 1;
    font-weight: normal;
    background-color: inherit;
}

.infowindow-discounts {
    margin: 15px 0;
    line-height: 1.25;
}

.infowindow-discounts .infowindow-discount {
    display: block;
}

.infowindow ul {
    list-style-image: url('../img/bullet.png');
    padding-left: 14px;
    margin: 0px;
}

.infowindow ul li {
    display: list-item;
}

.infowindow-address {
    line-height: 1;
    margin-top: 15px;
}

.infowindow-address strong {
    display: block;
}

.infowindow-address a {
    color: rgb(64, 184, 184) !important;
    text-decoration: underline;
    display: block;
}

.infowindow .close-btn {
    background-color: rgb(64, 184, 184);
    border-radius: 50%;
    height: 13px;
    width: 13px;
    font-size: 10px;
    position: absolute;
    top: 12px;
    right: 42px;
    color: white;
    line-height: 11px;
    text-align: center;
    font-family: "Comic Sans MS", cursive, sans-serif;
    cursor: pointer;
}

.infowindow-button {
    margin-top: 15px;
}

.infowindow-arrow {
    position: absolute !important;
    width: 33px;
    height: 41px;
    background-image: url('../img/arrow-right.png');
    cursor: url("https://maps.gstatic.com/mapfiles/openhand_8_8.cur"), default;
}

.custom-popup .leaflet-popup-content-wrapper {
    border: 5px solid rgba(255, 255, 255, .5);
    border-radius: 5px;
    height: 100%;
    cursor: url("https://maps.gstatic.com/mapfiles/openhand_8_8.cur"), default;
    color: #7A7A7A;
}

.custom-popup .leaflet-popup-content {
    width: 100%;
    height: 100%;
    background-color: white;
    padding: 15px;
    margin: 0px;
    width: 240px;
}

.custom-popup .leaflet-popup-content h1 {
    font-size: 1.8em;
    padding-bottom: 10px;
    margin: 0;
    border-bottom-style: solid;
    border-bottom-color: rgb(234, 234, 234);
    border-bottom-width: 1px;
    line-height: 1;
    font-weight: normal;
    background-color: inherit;
}

.custom-popup .leaflet-popup-content .info-discounts {
    margin: 15px 0;
    line-height: 1.25;
}

.custom-popup .leaflet-popup-content ul {
    list-style-image: url('../img/bullet.png');
    padding-left: 14px;
    margin: 0px;
}

.custom-popup .leaflet-popup-content ul li {
    display: list-item;
}

.custom-popup .leaflet-popup-content .infowindow-address {
    line-height: 1;
    margin-top: 15px;
}

.custom-popup .leaflet-popup-content.infowindow-address strong {
    display: block;
}

.custom-popup .leaflet-popup-content .infowindow-address a {
    color: rgb(64, 184, 184) !important;
    text-decoration: underline;
    display: block;
}

.custom-popup .leaflet-popup-content .infowindow-button {
    margin-top: 15px;
}

.leaflet-container a.leaflet-popup-close-button {
    padding: 0 !important;
    background-color: rgb(64, 184, 184) !important;
    border-radius: 50% !important;
    height: 13px !important;
    width: 13px !important;
    font-size: 10px !important;
    color: white !important;
    line-height: 13px !important;
    top: 8px !important;
    right: 8px !important;
}

/* Overlay */

#dm-discount-finder .dm-loading-overlay {
    opacity: 0.6;
    background: #ffffff;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    border-radius: 8px;
}

#dm-discount-finder .dm-loading-overlay:after {
    content: url("../img/loading.gif");
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -20px;
    margin-top: -20px;

}

#dm-discount-finder .dm-filter-item {
    display: block;
    padding: 4px 0 4px 0;
}

#dm-discount-finder .dm-filter-item a {
    position: relative;
    font-weight: 500;
    padding-right: 15px;
}

#dm-discount-finder .dm-filter-item ul {
    padding-left: 20px;
}

#dm-discount-finder .dm-filter-item:last-child {
    border: none;
}

#dm-discount-finder .dm-filter-item .dm-filter-item-count {
    position: absolute;
    bottom: 0;
    right: 0;
    color: var(--gray);
}

/** pagination */

#dm-discount-finder .dm-pagination-pages {

}

#dm-discount-finder .dm-pagination-separator {
    margin: 0 0 0 5px;
}

#dm-discount-finder .dm-to-top-button {
    float: left;
    line-height: 1;
}

#dm-discount-finder .dm-pagination-page {
    display: inline-block;
    height: 27px;
    line-height: 27px;
    min-width: 27px;
    padding: 0 2px;
    vertical-align: middle;
    text-align: center;
    margin: 0 0 0 5px;
    cursor: pointer;
    font-weight: 400;
    color: var(--darkgreen);
}

#dm-discount-finder .dm-pagination-page.dm-active {
    text-decoration: underline;
}

#dm-discount-finder .dm-btn-show-more {
    color: #ffffff;
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(100%, rgba(0, 0, 0, 0.1)));
    background-color: #40B8B8;
    line-height: 18px;
    font-size: 1.5em;
    clear: both;
    cursor: pointer;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
}

#dm-discount-finder .dm-btn-show-more .dm-icon-refresh {
    margin-bottom: -2px;
}

#dm-discount-finder .dm-show-more-wrapper {
    clear: both;
    text-align: center;
    padding-top: 15px;
}

#dm-discount-finder .dm-btn-disabled {
    cursor: default;
    background-color: #BBBBBB;
}

#dm-discount-finder .dm-to-top-button {
    background: url("../img/arrow-top.png");
    background-repeat: no-repeat;
    padding-left: 20px;
    text-decoration: underline;
    background-position-y: 50%;
    font-weight: 400;
    color: var(--darkgreen);
}

#dm-discount-finder h1.dm-header,
#dm-discount-finder h2.dm-header,
#dm-discount-finder .dm-box h1.dm-header,
#dm-discount-finder .dm-box h2.dm-header {
    display: inline-block;
    margin: 0 0 20px 0;
    color: #000000;
    padding: 5px;
    line-height: 1;
    font-size: 25px;
}

#dm-discount-finder h2.dm-header, #dm-discount-finder .dm-box h2.dm-header {
    margin: 10px 0 15px 0;
    font-size: 18px;
    color: var(--darkgreen);
    font-weight: 500;
}

#dm-provider-detail {
    margin-top: 10px;
}

#dm-provider-detail .dm-discount-list-item h3 {
    margin-right: 65px;
}

#dm-provider-detail .dm-provider-current-rating {
    display: none;
}

#dm-provider-detail .dm-discount-list .dm-discount-list-item ul.dm-provider-detail-discount-restrictions {
    margin: 10px 0px;
    display: block;
    padding: 0;
}

#dm-provider-detail .dm-discount-list .dm-discount-list-item ul.dm-provider-detail-discount-restrictions li::before {
    display: none;
}

#dm-provider-detail h2 {
    padding: 6px;
}

#dm-provider-detail h3 {
    padding: 5px;
}

#dm-provider-detail .dm-description {
    color: #848484;
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 20px;
}

#dm-provider-detail .dm-provider-detail-logo {
    width: 100px;
    margin: 20px auto;
    display: block;
}


#dm-provider-detail .dm-card-types {
    position: absolute;
    top: 0;
    right: 10px;
}

#dm-provider-detail .dm-contact-line {
    font-weight: bold;
    font-size: 16px;
    display: block;
}

#dm-provider-detail .dm-contact-line a {
    font-weight: normal;
    color: #3fb8b8;
}

#dm-provider-detail .dm-contact-line span {
    font-weight: normal;
}

#dm-provider-detail .dm-box-bordered {
    padding: 10px;
}

#dm-provider-detail .dm-description a {
    text-decoration: underline;
}

#dm-provider-detail .dm-discount-list a {
    text-decoration: underline;
}

#dm-provider-detail .dm-box-bordered.dm-provider-info {
    background-color: var(--lightgreen);
}

#dm-provider-detail .dm-provider-info .dm-contact-line a:hover {
    text-decoration: underline;
}

#dm-provider-detail .dm-provider-info hr {
    display: none;
}

#dm-provider-detail .dm-social-links {
    /* display:none !important;*/
}

#dm-provider-detail .dm-btn-social {
    height: 38px;
    width: 100%;
    margin-top: 6px;
    color: white;
    font-weight: bold;
    padding: 3px 0 0 50px;
}

#dm-provider-detail .dm-social-links a:hover {
    text-decoration: none;
}

#dm-provider-detail .dm-btn-social .dm-btn-social-left {
    float: left;
    width: 84px;
    height: 100%;
}

#dm-provider-detail .dm-btn-social .dm-btn-social-right {
    float: right;
    width: 50px;
    height: 100%;
}

#dm-provider-detail .dm-btn-social {
    background-position: left, right top, center;
    background-repeat: no-repeat, no-repeat, repeat-x;
}

#dm-provider-detail .dm-btn-social:hover {
    background-position: left, right bottom, center;
}

#dm-provider-detail .dm-btn-twitter {
    background-image: url('../img/twitter-left.png'), url('../img/twitter-right.png'), url('../img/twitter-bg.png');
}

#dm-provider-detail .dm-btn-facebook {
    background-image: url('../img/facebook-left.png'), url('../img/facebook-right.png'), url('../img/facebook-bg.png');
}

#dm-provider-detail .dm-tag {
    display: inline-block;
    height: 30px;
    color: white;
    margin: 2px;
    padding: 0 10px 0 28px;
    line-height: 30px;
    vertical-align: middle;
    background: url('../img/tag-left-sprite.png') 0 0 no-repeat, url('../img/tag-bg-sprite.png') 0 0 repeat-x;
    background-color: #4BB1B1;
    font-weight: bold;
    max-width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

#dm-provider-detail .dm-tag:hover {
    background-position: 0 -30px, 0 -30px;
}

#dm-provider-detail .dm-discount-list-item p {
    margin: 0 0 2px 0;
    line-height: 1.5;
    color: #848484;
}

#dm-provider-detail .dm-discount-list-item ul {
    /*list-style-image: url('../img/bullet.png');*/
    padding-left: 14px;
    margin: 0px;
}

#dm-provider-detail .dm-discount-list-item li {
    min-height: 25px;
    color: #848484;
    line-height: normal;
}

#dm-provider-detail .dm-photo {
    display: inline-block;
    width: 90px;
    height: 90px;
    overflow: hidden;
    position: relative;
    margin: 2px;
}

#dm-provider-detail .dm-photo .dm-photo-white-plus-overlay {
    position: relative;
    left: 0;
    top: 0;
    width: 90px;
    height: 90px;
    z-index: 2;
    opacity: 0;
}

#dm-provider-detail .dm-photo img {
    z-index: 0;
}

#dm-provider-detail .dm-photo canvas {
    z-index: 1;
    opacity: 0;
}

#dm-provider-detail .dm-photo img, #dm-provider-detail .dm-photo canvas {
    max-width: none;
    max-height: none;
    position: absolute;
    top: -100%;
    bottom: -100%;
    left: -100%;
    right: -100%;
    margin: auto;
}

#dm-provider-detail .dm-blur-this .dm-blur-effect, #dm-provider-detail .dm-blur-this .dm-photo-white-plus-overlay {
    -webkit-transition: opacity 300ms ease;
    -moz-transition: opacity 300ms ease;
    -ms-transition: opacity 300ms ease;
    -o-transition: opacity 300ms ease;
    transition: opacity 300ms ease;
}

#dm-provider-detail .dm-blur-this:hover .dm-blur-effect {
    opacity: 1;
}

#dm-provider-detail .dm-blur-this:hover .dm-photo-white-plus-overlay {
    opacity: .75;
}

#dm-provider-detail .dm-photo .dm-orientation-landscape {
    height: 100%;
}

#dm-provider-detail .dm-photo .dm-orientation-portrait {
    width: 100%;
}

#dm-provider-detail .dm-similar-provider {
    border-bottom: 1px solid #E0E0E0;
    cursor: pointer;
    padding: 8px 0 8px 0;
    clear: both;
    min-height: 60px;
}


#dm-provider-detail .dm-similar-discounts a:last-child div.dm-similar-provider {
    border: none;
}

#dm-provider-detail .dm-similar-provider .dm-similar-provider-logo-wrapper {
    float: left;
    width: 25%;
    height: 43px;
    line-height: 43px;
    text-align: center;
}

#dm-provider-detail .dm-similar-provider .dm-similar-provider-logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle;
}

#dm-provider-detail .dm-similar-provider .dm-similar-provider-info-wrapper {
    float: left;
    width: 75%;
    padding: 0 0 0 10px;
}

#dm-provider-detail .dm-similar-provider .dm-similar-provider-info-wrapper h3 {
    line-height: 1;
    margin: 0 0 5px 0;
    padding: 0;
    font-size: 1em;
    font-weight: normal;
    background: none;
    display: block;
}

#dm-provider-detail .dm-similar-provider .dm-similar-provider-info-wrapper p {
    font-size: 0.9em;
    line-height: 1.2em;
    color: #8D8D8D;
    margin: 0;
}

#dm-provider-detail .dm-discount-name {
    margin: 0 0 10px 0;
    padding: 0px;
    font-size: 1.2em;
    font-weight: normal;
    background: none;
    display: block;
}

#dm-provider-detail .dm-comment-username-wrapper, #addPhotoWindow .dm-comment-username-wrapper {
    position: relative;
    display: table;
}

#dm-provider-detail .dm-comment-username-wrapper input, #addPhotoWindow .dm-comment-username-wrapper input {
    padding: 5px;
    padding-right: 30px;
    height: 33px;
    border-radius: 10px 10px 0 0;
    border: 1px solid #bdbdbd;
    width: 250px;
}

#dm-provider-detail .dm-comment-username-wrapper span.fa-user, #addPhotoWindow .dm-comment-username-wrapper span.fa-user {
    position: absolute;
    top: calc(50% - 7.5px);
    top: -webkit-calc(50% - 7.5px);
    right: 11px;
    font-size: 15px;
    color: #bdbdbd;
}

#dm-provider-detail .dm-comment-cardnumber-wrapper {
    margin-bottom: 15px;
}

#dm-provider-detail .dm-comment-cardnumber-wrapper, #addPhotoWindow .dm-comment-cardnumber-wrapper {
    position: relative;
    display: table;
    margin-top: -4px \9; /* IE hack */
}

#dm-provider-detail .dm-comment-cardnumber-wrapper input, #addPhotoWindow .dm-comment-cardnumber-wrapper input {
    padding: 5px;
    padding-right: 30px;
    height: 33px;
    border-radius: 0 0 10px 10px;
    border: 1px solid #bdbdbd;
    border-top-style: none;
    width: 250px;
}

#dm-provider-detail .dm-inline-form {
    display: flex;
    flex-flow: row wrap;
}

#addPhotoWindow .dm-comment-cardnumber-wrapper input {
    margin-bottom: 0;
}

#dm-provider-detail .dm-comment-cardnumber-wrapper span.fa-credit-card, #addPhotoWindow .dm-comment-cardnumber-wrapper span.fa-credit-card {
    position: absolute;
    top: calc(50% - 7.5px);
    top: -webkit-calc(50% - 7.5px);
    right: 9px;
    font-size: 15px;
    color: #bdbdbd;
}

#dm-provider-detail textarea.dm-comment-text {
    display: block;
    min-height: 150px;
    margin-bottom: 5px;
    border: 1px solid #bdbdbd;
    border-radius: 10px;
    width: 100%;
}

#dm-provider-detail .dm-comments-form-wrapper button {
    float: right;
    margin-top: -20px;
    line-height: 1;
}

#dm-provider-detail .dm-comments-form-wrapper input::-ms-clear {
    display: none;
}

#dm-provider-detail .dm-rating-wrapper {
    float: inherit;
}

#dm-provider-detail .dm-rating-header {
    display: block;
}

#dm-provider-detail .dm-rating-star {
    color: #CBCBCB;
    font-size: 19px;
    padding: 2px;
    cursor: pointer;
}

#dm-provider-detail .dm-rated {
    cursor: inherit;
}

#dm-provider-detail .dm-rating-star.dm-active {
    color: #FDEE51;
}

#dm-provider-detail .dm-comment-wrapper {
    padding-top: 10px;
    padding-bottom: 10px;
}

#dm-provider-detail .dm-comment-wrapper .dm-comment-username {
    float: left;
}

#dm-provider-detail .dm-comment-wrapper .dm-comment-date {
    float: right;
}

#dm-provider-detail .dm-comment-wrapper .dm-comment-data {
    float: left;
    width: calc(100% - 63px - 20px);
    border-bottom: 1px solid #bdbdbd;
    min-height: 63px;
}

#dm-provider-detail .dm-comment-replies-wrapper {
    margin-left: 83px;
    margin-top: 10px;
}

#dm-provider-detail .dm-comment-wrapper .dm-user-icon {
    width: 63px;
    height: 63px;
    border-radius: 50%;
    border: 1px solid #bdbdbd;
    color: #bdbdbd;
    padding-left: 20px;
    padding-top: 17px;
    font-size: 25px;
    float: left;
    margin-right: 20px;
    background-size: cover;
}

#dm-provider-detail .dm-comment-wrapper .dm-user-icon.dm-comment-reply-icon {
    background: url('../img/isic-image.png');
    background-position: top;
    background-repeat: no-repeat;
    background-size: 63px 63px;
    border-style: none;
}

#dm-provider-detail .dm-comment-wrapper p.dm-comment-text {
    padding-bottom: 5px;
    line-height: 1.5em;
    text-align: justify;
}

#dm-provider-detail .dm-comments-pagination {
    float: right;
}

#dm-provider-detail .dm-comments-wrapper h2.dm-header {
    margin-top: 30px;
}


#dm-discount-finder .dm-filter-toggler {
    display: none;
    cursor: pointer;
}

#dm-discount-finder .dm-filter-toggler i.fa {
    margin-right: 7px;
}

#dm-discount-finder .dm-filter-toggler .dm-icon-card-type {
    margin-top: -3px;
    margin-right: 5px;
}

#dm-discount-finder .dm-filter-toggler .dm-filter-toggler-header.dm-active {
    color: #3fb8b8;
    font-weight: bold;
}

#dm-discount-finder .dm-filter-toggler .dm-filter-toggler-header .dm-filter-item-count {
    float: right;
}

/* Dependency fixes */

div.pp_default .pp_description {
    margin-top: 10px;
}

div.pp_default .pp_nav .currentTextHolder {
    margin-top: 0px;
}

#dm-discount-finder .dm-filter-header {
    margin-top: 10px;
    text-align: center;
    color: var(--green);
    font-weight: bold;
}

/* Responsive behaviour */


@media (max-width: 850px) {
    #dm-discount-finder .dm-display-switch {
        width: 100%;
        max-width: 100%;
    }

    #dm-discount-finder .dm-sorting-switch {
        width: 100%;
        margin: 10px 0 10px 0;
    }

    #dm-discount-finder .dm-sorting-switch .dm-sort-order-wrapper {
        width: 49%;
        max-width: 100%;
        margin: 0;
        margin-left: 2%;
    }

    #dm-discount-finder .dm-sorting-switch .dm-sort-key-select {
        width: 49%;
        margin: 0;
    }

    #dm-discount-finder .dm-results .dm-map-legend-categories-category {
        width: 33.33%;
    }

    #dm-discount-finder .dm-text-search button i {
        margin: 0;
    }

    #dm-discount-finder .dm-text-search .dm-filter-text-submit .dm-filter-text-submit-content {
        display: none;
    }

    #dm-discount-finder .dm-text-search .dm-filter-text-reset .dm-filter-text-submit-content {
        display: none;
    }

}

@media (max-width: 900px) {

    #dm-discount-finder {
        margin: 0;
    }

    #dm-discount-finder .dm-left-column {
        width: 100%;
        float: none;
    }

    #dm-discount-finder .dm-right-column {
        width: 100%;
        float: none;
    }

    #dm-discount-finder .dm-left-column > div.dm-box, #dm-discount-finder .dm-right-column > div.dm-box {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 10px;
    }

    #dm-discount-finder .dm-filter-header {
        display: none;
    }

    #dm-discount-finder .dm-filter-toggler {
        display: block;
        color: var(--green);
        font-weight: 500;
    }

    #dm-discount-finder .dm-filter {
        display: none;
    }

    #dm-discount-finder .dm-filter-card-types, #dm-discount-finder .dm-filter-categories {
        padding: 2px 10px 2px 10px;
    }

    #dm-discount-finder .dm-results .dm-map-legend-categories-category {
        width: 50%
    }

    #dm-discount-finder .dm-results .dm-provider-map {
        height: 300px;
    }

    #dm-discount-finder .dm-text-search button i {
        margin: 0;
    }

    #dm-discount-finder .dm-text-search .dm-filter-text-reset {
        display: none;
    }


}

@media (max-width: 480px) {
    #dm-discount-finder .dm-sorting-switch .dm-sort-order-wrapper {
        width: 100%;
        max-width: 100%;
        margin: 0 0 10px 0;
    }

    #dm-discount-finder .dm-sorting-switch .dm-sort-key-select {
        width: 100%;
    }

    #dm-discount-finder .dm-results .dm-provider-images-item {
        width: 100%;
        margin: 0 0 10px 0;
    }

    #dm-discount-finder .dm-results .dm-map-legend {
        display: none;
    }

    #dm-discount-finder .dm-results .dm-provider-map {
        height: 200px;
    }

}


#dm-discounts-shortcut {
    width: 100%;
}

#dm-discounts-shortcut div:nth-child(1) {
    width: 100%;
}


#dm-discounts-shortcut .dm-shortcut-input {
    height: 40px;
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

#dm-discounts-shortcut a {
    text-decoration: none;
}

#dm-discounts-shortcut a {
    color: #7A7A7A;
}

#dm-discounts-shortcut .dm-text-search-options {
    position: absolute;
    background-color: white;
}

.dm-text-search-options ul {
    list-style: none !important;
    padding-left: 0px !important;
}

.dm-text-search-options ul li::before {
    display: none;
}

#dm-discounts-shortcut .dm-shortcut-submit {
    height: 40px;
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

#dm-discounts-shortcut form {
    display: flex;
}

#dm-discount-finder .dm-box-bordered button.dm-btn {
    display: block;
    margin: 0 auto;
}

.dm-popup {
    position: relative;
    background: #FFF;
    padding: 20px;
    width: auto;
    max-width: 800px;
    margin: 20px auto;
    border-radius: 8px;
    border: 1px solid #E0E0E0;
    color: black;
}

.dm-popup input, .dm-popup textarea {
    display: block;
    border-radius: 8px;
    border: 1px solid #E0E0E0;
    background-color: white;
    padding: 9px 10px 8px 10px;
    color: #7A7A7A;
    white-space: nowrap;
    overflow: hidden;
    outline: none;
    width: 290px;
    margin-bottom: 10px;
}

.dm-popup input[type="file"] {
    width: 268px;
}

.dm-popup label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

#addPhotoWindow h2 {
    background-color: #fdee51;
    display: inline-block;
    margin-top: 0 0 20px 0;
    color: #000000;
    padding: 5px;
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 1.5em;
    line-height: 1em;
}

#addPhotoWindow .dm-addPhoto-form-wrapper, #addPhotoWindow .dm-addPhoto-preview {
    float: left;
    width: 50%;
}

#addPhotoWindow textarea {
    white-space: normal;
}

.dm-addPhoto-preview img {
    max-width: 100%;
}

#dm-provider-detail .dm-right-column .dm-box span.dm-btn {
    margin: 0 auto;
    display: table;
    line-height: 1;
}

.dm-suggestions {
    border: 1px solid #E0E0E0;
    background: #ffffff;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
}

.dm-autocomplete {
    list-style-type: none;
    padding: 0;
    padding: 2px;
}

.dm-suggestion a, .dm-suggestion a:hover {
    display: block;
    padding: 0 7px 0 7px;
    color: #000000;
    text-decoration: none;
}

.dm-suggestion.ui-state-focus, .dm-suggestion .ui-state-focus {
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(100%, rgba(0, 0, 0, 0.1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.1) 100%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.1) 100%); /* W3C */
    background-color: #85dede;
    border: 1px solid #E0E0E0;
}

#addPhotoWindow .dm-comment-username-wrapper {
    margin: 0 0 0 2px;
    width: 290px;
}

#addPhotoWindow .dm-comment-cardnumber-wrapper {
    margin: 0 0 20px 2px;
    width: 290px;
}

#addPhotoWindow .dm-comment-username-wrapper input {
    margin: 0;
}

.dm-comment-error, .dm-error {
    color: red;
}

#dm-discount-finder .hidden {
    display: none;
}

.dm-comments-wrapper input, .dm-comments-wrapper textarea {
    outline: none;
}

.dm-left-column .dm-box {
    margin-left: 0;
}

.dm-right-column .dm-box {
    margin-right: 0;
}

#dm-discount-finder .dm-display-switch .dm-btn-active {
    text-transform: none;
    color: var(--green);
}

#dm-discount-finder .dm-display-switch .dm-btn-active::after {
    content: "";
    background-color: var(--green);
    border-radius: 100px;
    width: 100%;
    height: 5px;
    position: absolute;
    bottom: -8px;
    left: 0;
}

#dm-discount-finder .dm-nothing-found a {
    text-decoration: underline;
    color: #3fb8b8;
}

#dm-discount-finder button.infowindow-button {
    line-height: 1;
}

#dm-provider-detail > div.dm-right-column > div.dm-box.dm-box-bordered.dm-provider-info > hr::before,
#dm-provider-detail > div.dm-right-column > div.dm-box.dm-box-bordered.dm-provider-info > hr::after {
    display: none;
}

#dm-provider-detail > div.dm-right-column > div.dm-box > a.dm-tag {
    transition: none;
}

#dm-discount-finder .dm-modal {
    background-color: rgba(56, 53, 53, 0.5);
    height: 100%;
    width: 100%;
    position: fixed;
    display: none;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    z-index: 9998;
    padding: 16px;
}

#dm-discount-finder .dm-modal .dm-verify, #dm-discount-finder .dm-modal .dm-error {
    padding: 32px 40px;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.16);
    -moz-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.16);
    -webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.16);
    border-radius: 6px;
    width: 100%;
    background-color: #fff;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 100%;
    overflow-y: scroll;
}

@media screen and (max-width: 768px) {
    #dm-discount-finder .dm-modal .dm-verify, #dm-discount-finder .dm-modal .dm-error {
        padding: 32px 16px;
    }
}

#dm-discount-finder .dm-modal .dm-error .dm-modal__content {
    flex-direction: column;
    gap: 16px;
    color: #383535;
}

#dm-discount-finder .dm-modal span {
    display: flex;
    line-height: normal;
    color: #383535;
}

#dm-discount-finder .dm-modal__close {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    width: 24px;
    cursor: pointer;
    margin-top: 6px;
}

@media screen and (max-width: 768px) {
    #dm-discount-finder .dm-modal__close {
        margin-top: 0;
    }
}

#dm-discount-finder .dm-modal__close div {
    height: 24px;
    width: 4px;
    border-radius: 2px;
    background-color: #40B8B8;
}

#dm-discount-finder .dm-modal__close div:first-child {
    transform: rotate(45deg);
    margin-right: -2px;
}

#dm-discount-finder .dm-modal__close div:last-child {
    transform: rotate(-45deg);
    margin-left: -2px;
}

#dm-discount-finder .dm-modal__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media screen and (max-width: 768px) {
    #dm-discount-finder .dm-modal__row {
        flex-direction: column-reverse;
        align-items: flex-end;
        gap: 12px;
    }
}

#dm-discount-finder .dm-modal__content {
    display: flex;
    gap: 40px;
}

#dm-discount-finder .dm-modal__title {
    font-size: 32px;
    font-weight: 600;
    text-align: left;
}

#dm-discount-finder .dm-modal__title.dm-error-modal__title {
    color: #006867;
    font-weight: bold;
}

@media screen and (max-width: 768px) {
    #dm-discount-finder .dm-modal__title {
        width: 100%;
    }
}

#dm-discount-finder .dm-modal__desc {
    font-size: 16px;
    margin-bottom: 0;
    margin-top: 0;
}

#dm-discount-finder .dm-modal__desc.dm-error-modal__desc {
    color: #D01D1D;
}

#dm-discount-finder .dm-modal__img {
    background-image: url('../img/vertical-isic-andrew.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
    height: 100%;
    width: 100%;
}

#dm-discount-finder .dm-modal__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;

}

#dm-discount-finder .dm-modal__list li {
    font-size: 16px;
    list-style: unset;
}

#dm-discount-finder .dm-modal__list li::before {
    display: none;
}

#dm-discount-finder .dm-modal__button {
    margin-top: 16px;
    text-transform: inherit;
    color: #fff;
    font-size: 16px;
    padding: 14px 28px;
    width: fit-content;
    font-weight: bold;
    border-radius: 24px;
    -webkit-appearance: none;
    background: #006666;
    line-height: normal;
    border: none;
}

#dm-discount-finder .dm-modal__col:first-child {
    width: calc(55% - 20px);
}

@media screen and (max-width: 768px) {
    #dm-discount-finder .dm-modal__col:first-child {
        width: 100%;
    }
}

#dm-discount-finder .dm-modal__col:last-child {
    width: calc(45% - 20px);
}

@media screen and (max-width: 768px) {
    #dm-discount-finder .dm-modal__col:last-child {
        display: none;
    }
}

#dm-discount-finder .dm-modal__form {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    width: 100%;
}

#dm-discount-finder .dm-modal__form label {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

#dm-discount-finder .dm-modal__form label span {
    color: #38acac;
    font-weight: bold;
    font-size: 16px;
}

#dm-discount-finder .dm-modal__form label .dm-modal__error-message {
    font-size: 10px;
    font-weight: normal;
    color: red;
    visibility: hidden;
}

#dm-discount-finder .dm-modal__form label.error .dm-modal__error-message {
    visibility: visible;
}

#dm-discount-finder .dm-modal__form label input {
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid #a7a7a7;
    font-size: 16px;
    outline: none;
    -webkit-appearance: none;
}

#dm-discount-finder .dm-modal__form label input::placeholder {
    color: #666;
}

#dm-discount-finder .dm-modal__form button {
    margin-top: 8px;
    text-transform: uppercase;
    color: #fff;
    font-size: 16px;
    padding: 12px 24px;
    border: 1px solid #d5d5d5;
    border-radius: 6px;
    -webkit-appearance: none;
    background: transparent linear-gradient(180deg, #54c7c7 0%, #258d8d 100%);
}

#dm-discount-finder .dm-modal__form button[disabled]:hover ,#dm-discount-finder .dm-modal__form button:disabled:hover {
    text-decoration: none;
    cursor: default;
}